[Solved] Nginx: [emerg] bind() to 0.0.0.0:443 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?

root@104 ~]# netstat -anon | grep 443

2. Kill the process occupying port 443

[ root@104 ~]# 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: