Which IP address and port should you connect?

You have a Hyper-V server named Server1 that runs Windows Server 2016. Server1 has an IP address of 192.168.1.78.
Server1 has a container named Container1 that hosts a web application on port 84. Container1 has an IP address of 172.16.5.6 Container1 has a port mapping from port 80 on Server1 to port 84 on Container1.
You have a server named Server2 that has an IP address of 192.168.1.79.
You need to connect to the web application from Server2.
To which IP address and port should you connect?
A. 172.16.5.6:80
B. 192.168.1.78:80
C. 172.16.5.6:84
D. 192.168.1.78:84

microsoft-exams

4 thoughts on “Which IP address and port should you connect?

  1. Based on the reference link the web application should be accessible from host ip as well as container ip
    So A seems to be a correct answer as well

    1. the answer is correct.

      As Server1 is a NAT server with Port mapping enabled from 192.168.1.78:80 to 172.16.5.6:84, Server2 (which is external to Server1) should connect to port 80 on
      Server1 (Answer B) for accessing private network resources on Container1.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.