Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

httpd Startup Error: "(13)Permission denied: make_sock: could not bind to address" 

Applies to:  

Linux OS - Version Oracle Linux 7.0 to Oracle Linux 9.0 [Release OL7 to OL9] 
Oracle Cloud Infrastructure 
Linux x86-64 
Linux ARM 64-bit 
 

Symptoms 

When trying to start httpd on a non-default port, the following error messages are observed:  

(13)Permission denied: make_sock: could not bind to address [::]:88 
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:88 

and httpd fails to start.  
 

Cause 

For non-standard ports and on SELinux enabled systems, SELinux needs to be told to allow such non-standard ports to be used by httpd.  

 

Solution 

Based on the error messages above, the port in question here is 88, hence the command will be:  

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!