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
Incoming host request port : 3000
Docker port:5000
So answer is B
Answer B
Explanation:
https://www.whitesourcesoftware.com/free-developer-tools/blog/docker-expose-port/
C