Skip to content
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

Error starting userland proxy: listen tcp 0.0.0.0:3306: bind: address already in use' #85

Closed
grekpg opened this issue Jun 19, 2018 · 2 comments

Comments

@grekpg
Copy link

grekpg commented Jun 19, 2018

I use system Ubuntu 14.04 as desktop.
clone Your repo - and get

sudo docker-compose up
[sudo] password for grek: 
Starting docker-symfony-master_db_1 ... error

ERROR: for docker-symfony-master_db_1  Cannot start service db: b'driver failed programming external connectivity on endpoint docker-symfony-master_db_1 (e02890239de6eae1e607366a61edfd4fab14b998422577bb90b2b8acd70f9580): Error starting userland proxy: listen tcp 0.0.0.0:3306: bind: address already in use'

ERROR: for db  Cannot start service db: b'driver failed programming external connectivity on endpoint docker-symfony-master_db_1 (e02890239de6eae1e607366a61edfd4fab14b998422577bb90b2b8acd70f9580): Error starting userland proxy: listen tcp 0.0.0.0:3306: bind: address already in use'
ERROR: Encountered errors while bringing up the project.

@Livda
Copy link

Livda commented Jul 16, 2018

Hi !
You have already something listening on the 3306 port. It's probably an other database like MySQL.
To know which one is listening, try this command :

$ sudo netstat -laputen | grep ':3306 *LISTEN'

In the last column you should have the name of the program listening on the 3306 port. You just have to stop it with this command :

$ sudo systemctl stop PROGRAM_NAME

But it's not an issue created by the code in this repo !

@eko
Copy link
Owner

eko commented Jul 18, 2018

Hello @grekpg and thank you for your answer @Livda.

Indeed you should have something that already takes the 3306 port.

I close this issue as it is not related to docker-symfony at all.

Thank you and feel free to re-open if needed.

@eko eko closed this as completed Jul 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants