[Solved] Nginx: [emerg] bind() to failed (98:Address already in use)

In fact, the reason for this error is very simple, that is, port 443 is occupied

1. Check whether port 443 is occupied?Which occupied it?

[email protected] ~]# netstat -anon | grep 443

2. Kill the process occupying port 443

[ [email protected] ~]# fuser -k 443/tcp

Then start with:./nginx

Then view it to display the current modified time, indicating that it has been started successfully.

Similar Posts: