Apache refuses to work on port 80 =/
Posted by: icedrift (---.orange.net.il)
Date: November 04, 2011 07:33PM

Somewhy, i cannot really find out why, the Apache server refuses to bind to port 80, while it works on other ports.

My OS is Windows 7 x64 SP1.

What i noticed so far:
1. WampServer tray icon stays on Orange (which seems, cause it unable to start Apache)
2. Changing the port at httpd.conf fixes all the problems!
3. Manually launching httpd.exe results in:

<OS 10013>An attempt was made to access a socket in a way forbidden by its access permissions. :make_sock: could not bind to adress [::]:80
<OS 10013>An attempt was made to access a socket in a way forbidden by its access permissions. :make_sock: could not bind to adress 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs

I have runned netstat, and sysinternals TCPView, and nothing, nothing uses port 80!

Any kind of help is appreciated smiling smiley



Edited 2 time(s). Last edit at 11/04/2011 07:48PM by icedrift.

Options: ReplyQuote
Re: Apache refuses to work on port 80 =/
Posted by: yfastud (Moderator)
Date: November 05, 2011 12:58AM

Make sure no other program conflict Wamp such as IIS, Microsoft Web Deploy, Web Deployment Agent Service, SQL, Skype, Zonealarm, firewall/antivirus, NOD32, Eset, any web related program including Remote Desktop, Teamviewer or Apache, MySQL, PHP outside wamp folder (ie. in Program Files or System32 folder) ...

IIS and Apache/Wamp are both web server and might conflict in some way, so you have to disable IIS in order for Wamp to work

Disable IIS in Vista/W7:

Control Panel, Uninstall Programs, Turn Widows Features On or Off, uncheck Internet Information Services

Disable IIS in XP:

Control Panel, Add/Remove Programs, Add/Remove Windows Components, uncheck Internet Information Services (IIS)

Restart computer, then restart Wamp

Also, in folder C:\WINDOWS\System32\drivers\etc, open file hosts and delete anything in this file and have only this line below and nothing else

127.0.0.1 localhost

If using Skype, open Skype > Tools > Options > Advanced > Connection then uncheck "use port 80..." restart Wamp then Skype

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote


Sorry, only registered users may post in this forum.