-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
listen tcp 0.0.0.0:80: bind: address already in use #16
Comments
Looks like you're already using the port 80!! Change the default port in the ports:
- "8084:80" And try to use the port 8084 instead |
I was getting this error when using the docker-compose inheritance feature (-f ), the ports in the base file were not being over-ridden by my overlay file |
@dhdanno You cannot override ports in docker-compose. There's an open issue about this in the docker-compose repo docker/compose#3939 |
I solved that problem just stopping apache on ubuntu xenial.
I had apache running. |
For us, the solution was to stop & disable the BranchCache windows' service. |
This works for me |
I had nginx running globally on mac. Stopping it fixed the error:
|
Thank you @tuxisma! My host rebooted and suddenly one of my containers that maps to port 80 couldn't start. I got this error: Error starting userland proxy: listen tcp 0.0.0.0:80: listen: address already in use + docker container failed to start Stopping apache2 service in my ubuntu host solved it! |
same here after ubuntu update not sure why but nginx was running globally on my linux PC and also solve the problem with
|
docker-compose up
,there is a error alert blow:docker-compose.yml
is blow:git/Code/hfcms/
,the docker dir isgit/Code/hfcms/docker
.The text was updated successfully, but these errors were encountered: