Windows – (OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. Windows apache

amazon-web-servicesapacheconfigurationwindows

When trying to execute httpd.exe on my windows server, I get this error:

(OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : AH00072: make_sock: could not bind to address (myIpAddress):80

AH00451: no listening sockets available, shutting down

AH00015: Unable to open logs

This only happens when in the httpd.conf I set:

Listening (myIPAddress):80

but the I don't get this error when it's set to:

Listening 80

Best Answer

Confirm if some other process is already listening to Port 80.

netstat -aon | findstr :80

Since it is windows server there are chances to have IIS running by default.

You will have to stop the website binded with port 80 from IIS Manager and then run httpd.exe again.

Related Topic