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:
http://wiki.apache.org/httpd/CouldNotBindToAddress?action=diff&rev1=13&rev2=14

Comment:
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: docs-unsubscr...@httpd.apache.org
For additional commands, e-mail: docs-h...@httpd.apache.org

Reply via email to