emerg]: bind() – sometimes after edit nginx configuration this error will show up. Don’t panic, this error happen because port for new configuration still in charge. In another world it means nginx or some other process is already using port 80. Code in this error show in (98: Address already in use) code.

You can kill it using:

sudo fuser -k 80/tcp

And then try restarting nginx again:

service nginx start

simple it.

but if you face fuser command not found you can follow this step

0/5 (0 Reviews)


Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.