Installation, Storage, and Compute with Windows Server 2016 — Question 228

You have a server named Server1 that runs Windows Server 2016. The Docker daemon runs on Server1. You need to configure the Docker daemon to accept connections only on TCP port 64500.
What should you do?

Answer options

Correct answer: D

Explanation

The correct answer is D because the 'sc config' command is used to modify the service configuration, allowing you to restrict the Docker daemon to listen only on the specified TCP port. The other options either do not modify service configurations directly (A, B, C, E, F, G) or do not achieve the goal of limiting port access.