httpd Startup Error: "(13)Permission denied: make_sock: could not bind to address"
in Linux
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:
Tagged:
0