Categories
General

How to shutdown/close ports on MAC ?

How to address this error on MAC ?

Error response from daemon: Ports are not available: exposing port TCP 0.0.0.0:443 -> 0.0.0.0:0: listen tcp 0.0.0.0:443: bind: address already in use

Listen to port 80 or 443

sudo lsof -i :80 
sudo lsof -i :443 

in my case nginx was up and running so

sudo nginx -s stop

MOST IMPORTANT

STOP ALL your docker instances !!!!

Leave a Reply