Cannot start container -- Port 80 already in use


#1

After I tried rebuilding my container with ./launcher rebuild app, I received the following error message:

Error response from daemon: Cannot start container b974645754b5c87cf927b4c9cadd3e5268498aff8deb32360de9b6fd28420c63: failed to create endpoint app on network bridge: Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use

My webpage greets its user with “Welcome to nginx!”

From what I learned on this forum, something else is running on port 80 and I must remove it in order to start the container. How may I proceed in doing so (I am not trained as a programmer so I would much appreciate your detailed instruction!)?

Thank you!


(Martial) #2

You want stop nginx to let the port 80 free and then rebuild :

sudo service nginx stop

Or use your nginx as reverse proxy