Starting httpd: (99)Cannot assign requested address

On a server, when i restart apache, i got the error

# 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

Listen 67.223.236.11:80

With

Listen *:80

See Apache

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *