nginx-certbot icon indicating copy to clipboard operation
nginx-certbot copied to clipboard

443 address already in use

Open AnasKg opened this issue 5 years ago • 3 comments

I am getting error like this on my server: Error starting userland proxy: listen tcp 0.0.0.0:443: bind: address already in use

AnasKg avatar Sep 10 '20 06:09 AnasKg

There is probably already a service running on port 443 and probably 80. Try terminating apache.service or nginx

To see what is running on port 443, run sudo lsof -t -i:443

sudo systemctl stop apache.service or sudo systemctl stop nginx.service

if doenst work try this:

sudo kill -9 $(sudo lsof -t -i:443)

igorssmanoel avatar Sep 11 '20 14:09 igorssmanoel

Thanks for the answer! Yes, nginx was running on 443, I stopped it. Now I cannot get the certificates, the following error is displayed: Screen Shot 2020-09-14 at 10 28 13

For the domain, the current server is indicated in which I run this script. What to do?

AnasKg avatar Sep 14 '20 04:09 AnasKg

running into this issue myself. My isp blocks port 80 and i think that is what's causing it.

shanedublin avatar Apr 17 '21 08:04 shanedublin