Starting httpd: (99)Cannot assign requested address
On a server, when i restart apache, i got the error
1 2 3 4 |
# service httpd restart Stopping httpd: [ OK ] Starting httpd: (99)Cannot assign requested address: make_sock: could not bind to address 67.223.236.11:80 no listening sockets available, shutting down [FAILED] |
The error was due to Apache trying to bind to an IP address, that is no longer present in the server.
This is fixed by modifying /etc/httpd/conf/httpd.conf
Replace
1 |
Listen 67.223.236.11:80 |
With
1 |
Listen *:80 |
See Apache