Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save lehuutien1996/0613bc0963fae92be1dea4b99a9bd532 to your computer and use it in GitHub Desktop.
Save lehuutien1996/0613bc0963fae92be1dea4b99a9bd532 to your computer and use it in GitHub Desktop.
You may get some error something like
```
ERROR: for docker_nginx_1 Cannot start service nginx: driver failed programming external connectivity on endpoint docker_nginx_1 (e968dbfa7f6e8c8a549b5765462d1aaeee76e24e28cdef12df671ba8f9448012): Error starting userland proxy: Bind for 0.0.0.0:80: unexpected error (Failure EADDRINUSE)
ERROR: for nginx Cannot start service nginx: driver failed programming external connectivity on endpoint docker_nginx_1 (e968dbfa7f6e8c8a549b5765462d1aaeee76e24e28cdef12df671ba8f9448012): Error starting userland proxy: Bind for 0.0.0.0:80: unexpected error (Failure EADDRINUSE)
```
Following commands below
```
# See all running services on port 80
sudo lsof -i :80
# Kill'em all
sudo killall httpd
# Unload'em
sudo launchctl unload /System/Library/LaunchDaemons/org.apache.httpd.plist
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment