Error starting userland proxy, Cannot start service caddy

Hello I am trying to install Open edx but getting this error and I have no idea what to do to fix it, can anyone help me with it please.

ERROR: for caddy  Cannot start service caddy: driver failed programming external connectivity on endpoint tutor_local_caddy_1 (4e5f79078928a3c1728a5e488eef8ebf8918eb736badbaa4f1c431a98afff470): Error starting userland proxy: listen tcp4 0.0.0.0:80: bind: address already in use
ERROR: Encountered errors while bringing up the project.
Error: Command failed with status 1: docker-compose -f /root/.local/share/tutor/env/local/docker-compose.yml -f /root/.local/share/tutor/env/local/docker-compose.prod.yml --project-name tutor_local up --remove-orphans -d

There’s a webserver service already running on your machine. You’ll need to set up a proxy for using openedx. Check this in docs: Running Open edX behind a web proxy — Tutor documentation

Yes did it, thank you :slight_smile:

Please read the troubleshooting section from the docs @TheBlapse. Both this question and your other one are covered there:

https://docs.tutor.overhang.io/troubleshooting.html#cannot-start-service-nginx-driver-failed-programming-external-connectivity
https://docs.tutor.overhang.io/troubleshooting.html#running-migrations-killed-command-failed-with-status-137-docker-compose

1 Like