wmnnd / nginx-certbot

Boilerplate configuration for nginx and certbot with docker-compose

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

443 address already in use

AnasKg opened this issue · 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

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)

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?

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