httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Httpd Wiki] Update of "CouldNotBindToAddress" by thumbs
Date Wed, 09 Nov 2011 18:53:35 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.

The "CouldNotBindToAddress" page has been changed by thumbs:

Added a SELinux / AppArmor section for troubleshooting

  === You're not root ===
  Unix based systems disallow non-root users to bind processes to port numbers below 1024.
Get root!
+ === SELinux / AppArmor is preventing apache httpd from binding to a specific IP/PORT ===
+ 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 <PORT>`
  === apachectl/httpd stop and start in rapid succession ===
  Use apachectl restart or wait a few seconds between stop and start

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message