Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apache service failing ("BUSY") when using port 80 [closed]

Tags:

apache

How can I configure my Apache server to run on port 80? My Apache service is failing when using Port 80; it says BUSY.

When I change the port in config to 85, Apache works but this requires maunally entering 85 in the address bar every time with localhost.

I have tried to find out which program is using port 80 but I cannot come up with anything. I first entered netstat -n -a -o -p TCP in cmd and I came up with this information

Local Address 0.0.0.0:80   State: Listening    PID: 4

Then I entered tasklist in cmd trying to figure out which service is using this port. Looks like "System" is on PID 4. I have configured Skype to not use port 80 without any luck. I have Microsoft WebMatrix installed on Windows 7 and I even deleted IIS 7.5 Server Express to free this port but all to no avail.

Can you guys please help me out? I am using Windows 7 and XAMPP.

like image 947
m.umar Avatar asked Apr 29 '11 12:04

m.umar


People also ask

How do I unblock Port 80 in Apache?

Go to the Control Panel and launch "Windows Firewall" Go to "Advanced Settings" Select "Inbound Rules" in the left pane Select "New Rule" in the right pane In the New Inbound Rule Wizard, select "Port" as Rule Type, then click on "Next" Select "TCP and put "80" (and any other ports you want to open) in "Specific local ...

How do I fix a Port 80 error?

Your port 80 is being used by the system or Skype. If by Skype then first quit Skype and run Apache. And you can restart Skype. In Windows “World Wide Publishing" Service is using this port and stopping this service will free the port 80 and you can connect Apache using this port.

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.


1 Answers

Several programs can block that port. Candidates are:

  • Skype
  • Web Deployment Agent Service (can be stopped via Start -> [-> Run] -> services.msc)
  • World Wide Web Publishing Service
  • IIS (if you have it installed)
  • TeamViewer
  • VMware (in VMware Workstation go to Edit>>Preferences>>Shared VMs, and Disable Sharing or change the port)

    Web Deployment Agent Service and World Wide Web Publishing Service can be set to manual start to keep them from running. Stop or change these services from an account that has administrator permissions. Skype and TeamViewer can be configured not to use port 80. For Skype Go to Options > Advanced > Connection and un-check "Use port 80 and 443 for incoming connections" For TeamViewer Go to Extra > Options > Advanced and un-check the similar message as above.

EDIT: I made the post a community Wiki, so if people find other programs, they can add them here.

like image 50
6 revs, 3 users 50% Avatar answered Sep 23 '22 20:09

6 revs, 3 users 50%