How to fix Nginx failed (98: Address already in use)

[ March 5, 2018 ]

Another way (from my experience) is just force quit the process that running on that port 443

sudo fuser -k 443/tcp

or if you running on port 80 just change the port to

sudo fuser -k 80/tcp

Hope it helps someone who had the same issue

Don’t forget to restart nginx:

service nginx restart

Related Articles