docker run -d -p 8000:3000 --net isolated_network --name my-container chrisnoring-node
docker run -p 8000:3306 --net isolated_network --name mysql-db -e MYSQL_ROOT_PASSWORD=complexpassword -d mysql
both have the same exposed port. this isn't allowed right? or am i doing it wrong? i have an error
Bind for 0.0.0.0:8000 failed: port is already allocated.
hi. Yes, you are correct. Should 8001 for the database, or at least not 8000. Thanks for noticing :)
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
both have the same exposed port. this isn't allowed right? or am i doing it wrong? i have an error
hi. Yes, you are correct. Should 8001 for the database, or at least not 8000. Thanks for noticing :)