Created
August 19, 2017 05:24
-
-
Save lehuutien1996/0613bc0963fae92be1dea4b99a9bd532 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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