Home > it > (13)Permission denied: make_sock: could not bind to address

(13)Permission denied: make_sock: could not bind to address

Your apache start failes with the following message:

(13)Permission denied: make_sock: could not bind to address 1234
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:1234
no listening sockets available, shutting down
Unable to open logs

The problem is the policy which allows only typical http ports.

List them with:

semanage port -l|grep http

And add your favourite port to the existing policy:

semanage port -a -t http_port_t -p tcp 1234

Now your apache will start!

Categories: it Tags:
  1. March 7th, 2011 at 07:57 | #1

    Thank very much. I have same problem on centos. i fixed it!

  1. No trackbacks yet.

Spam protection by WP Captcha-Free