99: Cannot assign requested address

calmok

Verified User
Joined
Aug 11, 2015
Messages
61
-- Unit nginx.service has begun starting up.
Aug 07 20:57:59 40-30.4p.net nginx[88197]: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
Aug 07 20:57:59 40-30.4p.net nginx[88197]: nginx: [emerg] bind() to 117.186.xx.xx:80 failed (99: Cannot assign requested address)
Aug 07 20:57:59 40-30.4p.net nginx[88197]: nginx: configuration file /etc/nginx/nginx.conf test failed
Aug 07 20:57:59 40-30.4p.net systemd[1]: nginx.service: Control process exited, code=exited status=1
Aug 07 20:57:59 40-30.4p.net systemd[1]: nginx.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- The unit nginx.service has entered the 'failed' state with result 'exit-code'.
Aug 07 20:57:59 40-30.4p.net systemd[1]: Failed to start The nginx HTTP and reverse proxy server.
-- Subject: Unit nginx.service has failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit nginx.service has failed.
--
-- The result is failed.
Aug 07 20:58:04 40-30.4p.net systemd[1]: Starting The nginx HTTP and reverse proxy server...
-- Subject: Unit nginx.service has begun start-up
-- Defined-By: systemd
-- Support: https://access.redhat.com/support

My server inexplicably encountered the above error, causing my nginx to fail to start. 117.186.xx.xx I have already bound multiple users to this IP and have been using it normally. Why is this problem inexplicably occurring?
 
What does a check on port 80 say? Seems like you maybe also have something else running on port 80

Code:
netstat -tlpn | grep :80
 
Back
Top