UDP port 67 is the well known server port for DHCP.
A port is a transport layer number used together with an IP address and a protocol such as TCP or UDP to direct traffic to the correct service on a host.
A server process binds a socket to a port and listens, while a client typically chooses an ephemeral source port for outbound connections.
The combination of source and destination IP addresses, source and destination ports, and the transport protocol uniquely identifies a flow so the operating system can keep many conversations separate.
Firewalls, NAT, and scanners talk about ports because the destination port is the stable rendezvous point that exposes a service to the network.
DHCP exists because a new machine often does not know its IP address, default gateway, or DNS settings yet.
A DHCP server listens on UDP 67 so clients can discover it without prior configuration.
Because DHCP uses UDP and often broadcast, there is no connection setup like TCP.
A client typically uses UDP 68 and broadcasts a discover message.
The server on 67 replies with an offer, the client requests the offered address, and the server acknowledges the lease along with options like router and DNS.
When you understand the port roles, you can read packet captures and see the real flow: client side traffic tied to 68, server side replies tied to 67.
Security wise, rogue DHCP servers can hand out malicious gateways or DNS servers, so these ports are usually constrained to trusted network segments.