0

Nginx service is not starting

when i restart the nginx service i got the below error.. below help me to fix this issue.....

[root@domain1 nginx]# service nginx restart
Stopping nginx:                                            [  OK  ]
Starting   nginx: (98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
Nginx Add a comment
ismail
asked Sep 06 2017

Answer

0

this error is happened due to port 80 is already using by another process.., that's why nginx is not starting and getting this error.. use netstat or fuser commands to check current listening ports and do the proper configuration......

Add a comment
arunkumarak
asked Sep 06 2017
edited Oct 05 2018
Post your Answer