alangecker / bigbluebutton-docker

merged into https://github.com/bigbluebutton/docker
GNU Lesser General Public License v3.0
99 stars 33 forks source link

Error starting userland proxy: listen tcp4 10.7.7.1:5000: bind: address already in use #105

Closed J4gQBqqR closed 3 years ago

J4gQBqqR commented 3 years ago
ERROR: for greenlight  Cannot start service greenlight: driver failed programming external connectivity on endpoint bbb-docker_greenlight_1 (ecd89202fbc145d76926d20dafc388c2bd4b21f15cf3b4d3dddc471edd0c19cc): Error starting userland proxy: listen tcp4 10.7.7.1:5000: bind: address already in use
ERROR: Encountered errors while bringing up the project.

I already have port 5000 used by my docker registry service. How can I change the port to something else and make sure bbb still works? I know there is a docker-compose.greenlight.yml file that has port 5000. But if I change this file, will there be additional configs that need to be updated as well?

alangecker commented 3 years ago

additionally the greenlight port is used in the nginx config, which you should change as well ;) https://github.com/alangecker/bigbluebutton-docker/blob/v2.2.x/mod/nginx/bbb/greenlight.nginx

J4gQBqqR commented 3 years ago

I've updated both the docker-compose.greenlight.yml and the mod/nginx/bbb/greenlight.nginx to use port 5500. I use ./scripts/compose down and ./scripts/compose up -d to restart everything.

But I am still seeing this: image

Is there a way (e.g. log) I can diagnose what happened?

Thank you for your kind help.

alangecker commented 3 years ago

after changing files of the nginx container, you have to rebuild it with ./scripts/compose build nginx and an ./scripts/compose up -d afterwards ;)

J4gQBqqR commented 3 years ago

I have my instance resolved and running. Thank you!