How do I free my port 80 on localhost Windows?

前端 未结 18 1768
佛祖请我去吃肉
佛祖请我去吃肉 2020-11-28 00:59

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!

相关标签:
18条回答
  • 2020-11-28 01:37

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

    0 讨论(0)
  • 2020-11-28 01:38

    For me, this problem began when I hosted a VPN-connection on my Windows 8 computer.

    Simply deleting the connection from "Control Panel\Network and Internet\Network Connections" solved the problem.

    0 讨论(0)
  • 2020-11-28 01:39

    Use TcpView to find the process that listens to the port and close the process.

    0 讨论(0)
  • 2020-11-28 01:40

    Try

    netstat -anb -p tcp
    

    that show ports and processes

    0 讨论(0)
  • 2020-11-28 01:42

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

    0 讨论(0)
  • 2020-11-28 01:45

    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"

    0 讨论(0)
提交回复
热议问题