1 Answer
- Newest
- Most votes
- Most comments
0
Hello Amit,
Your network choice is correct for this scenario. You might want to double-check if you specified the same network name when creating both containers. Typos or inconsistencies can lead to connectivity issues. Also, Ensure you've correctly mapped the port used by your Node.js project to access the MySQL database within the network. Lastly you can use docker-compose for better management of multiple containers
Thanks
answered 2 months ago
Relevant content
- asked a year ago
- asked 2 years ago
- AWS OFFICIALUpdated 4 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago