Open Ports for IP Addressing on a Server | CompTIA Server+ Exam

Which Ports Should Be Open for IP Addressing on a Server?

Prev Question Next Question

Question

Which of the following ports should be open on a server that provides IP addressing for clients?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

D.

The correct answer is D. UDP 67.

When a client device connects to a network, it typically requests an IP address from a server on that network. This process is known as Dynamic Host Configuration Protocol (DHCP). The DHCP server listens for requests on port 67 using the User Datagram Protocol (UDP). Therefore, in order for a server to provide IP addressing for clients, UDP port 67 must be open.

To break down the other answer options:

A. TCP 22 is the port used for Secure Shell (SSH) protocol. This is used for secure remote access to a server and has no relevance to providing IP addressing for clients.

B. TCP 25 is the port used for Simple Mail Transfer Protocol (SMTP), which is used for sending email messages. This has no relevance to providing IP addressing for clients.

C. UDP 53 is the port used for Domain Name System (DNS), which translates domain names to IP addresses. While DNS is important for network connectivity, it is not necessary for providing IP addressing for clients.

Therefore, the only relevant answer is D. UDP 67, which is the port used for DHCP.