nginx: [emerg] bind() to [::]:443 failed (98: Address already in use)
方法1
netstat -ptnl | grep ":443"
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
Alternative using?lsof:
Find the PID & kill the process which running on port?443
sudo kill -9 $(lsof -t -i :443)