Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I free my port 80 on localhost Windows?

People also ask

How do I release port 80 in Windows?

From Services Manager (run: services. msc), stop and disable these Windows Services which are known to bind to port 80. Double click Service, and change 'Startup Type' to 'Disabled'… skype also using port 80 as default setting and you can uncheck it.

How do I free up 80 ports on Windows 10?

To disable port 80, go to Windows Firewall with Advanced Security (just type it in the Start search box). On the left you'll see Outbound Rules, right-click on it and select New Rule... Then, select Port in rule type and hit Next. Select protocol TCP and type 80 in the Specific Remote Port box.


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"


netstat -ano

That will show you the PID of the process that is listening on port 80. After that, open the Task Manager -> Processes tab. From the View -> Select Columns menu, enable the PID column, and you will see the name of the process listening on port 80.


netstat -a -b

Should tell you what program is bound to port 80


I had this problem previously,

if you see the Task manager(after enabling the view for PID), you will find PID=4 is "port 80 in use by NT Kernel & System; "

Just go to

  1. Control Panel
  2. Programs
  3. Turn Windows features on/off
  4. check if the World wide web services under IIS is checked

If so, Uncheck and netstat(or TCPVIEW) again to see if 80 is free.


use netstat -bano in an elevated command prompt to see what apps are listening on which ports.

But Usually following applications uses port 80 in windows.

  1. IIS
  2. World Wide Web Publishing service
  3. IIS Admin Service
  4. SQL Server Reporting services
  5. Web Deployment Agent Service

Stop above applications if running and check!!!