Solved: An attempt was made to access a socket in a way forbidden by its access permissions windows 10. OS10013, AH00072

Summary Solution

Shut down IIS

net stop was /y

which may unblock port 80.
Alternatively you can have your version of Apache listen on a different port – such as “8080”.

Situation

You are trying to start apache and getting an error

The Apache service named reported the following error:
>>> (OS 10013) An attempt was made to access a socket in a way forbidden by its access permissions.
:make_sock: could not bind to address 0.0.0.0:80.

OS 10013

 

Solution

  • Check if port 80 is being used by any other process – “netstat -o”
  • Shut down IIS from the commadn line: “net stop was /y”

Alternative solution:

  • Edit the /Apache24/conf/httpd.conf file and change the port from 80 to 8080
ChangePortApache

Changing the port to another one

 

References

https://www.sitepoint.com/unblock-port-80-on-windows-run-apache/

Advertisements
This entry was posted in Apache, Error Messages, Windows 10 and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s