Which port is used to make a connection?

Subscribe
Notify of
guest
3 Comments
Inline Feedbacks
View all comments
Sofia
Sofia
2 years ago

Port 3000 is the correct, https://docs.docker.com/engine/reference/commandline/run/

When you expose the container’s port you can access that application from the host port that you have bind it.

JAREER
JAREER
2 months ago
Reply to  Sofia

listen port is 5000 & access port is 3000

Javies
Javies
3 years ago

Not correct port 5000.