Which port is used to make a connection?

Refer to the exhibit.

A process on the host wants to access the service running inside this Docker container.

Which port is used to make a connection?
A . only outbound connections between 3000 and 5000 are possible
B . port 3000
C . any port between 3000 and 5000
D . port 5000

Answer: C

Latest 200-901 Dumps Valid Version with 211 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
3 Comments
Inline Feedbacks
View all comments
Sofia
Sofia
3 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
1 year ago
Reply to  Sofia

listen port is 5000 & access port is 3000

Javies
Javies
4 years ago

Not correct port 5000.