How do I free my port 80 on localhost Windows?

2019-01-07 02:00发布

I installed XAMPP 1.6.8 and for some reason it didn't work. Later realized port 80 is not free or not listening. How can I release it or make it free?

Thanks a lot!

16条回答
甜甜的少女心
2楼-- · 2019-01-07 02:43

netstat -a -b

Should tell you what program is bound to port 80

查看更多
forever°为你锁心
3楼-- · 2019-01-07 02:44

Try

netstat -anb -p tcp

that show ports and processes

查看更多
闹够了就滚
4楼-- · 2019-01-07 02:46

Other option to try is to stop SQL Server Reporting Services.

查看更多
成全新的幸福
5楼-- · 2019-01-07 02:48

Skype likes to use port 80 and blocks IIS. That was my prob.

查看更多
太酷不给撩
6楼-- · 2019-01-07 02:49

That agony has been solved for me. I found out that what was taking over port 80 is http api service. I wrote in cmd:

net stop http

Asked me "The following services will be stopped, do you want to continue?" Pressed y

It stopped a number of services actually.

Then wrote localhost and wallah, Apache is up and running on port 80.
Hope this helps

Important: Skype uses port 80 by default, you can change this in skype options > advanced > connection - and uncheck "use port 80"

查看更多
小情绪 Triste *
7楼-- · 2019-01-07 02:53

in my case,window iis to stop Web Deployment Agent Service.Type in cmd

 net stop msdepsvc 
查看更多
登录 后发表回答