Home Net Guide

Home / Port numbers / Port 5351

Port 5351: NAT-PMP and PCP

Apps asking the router to open a port for them. Port 5351 uses UDP.

Port
5351
Commonly used for
NAT-PMP and PCP
Transport
UDP
Encrypted
No
Range
User (registered) port, 1024 to 49151
Our advice
Local network only: never forward it from the internet
IANA registration
pcp Port Control Protocol (UDP)

Registration: IANA Service Name and Transport Protocol Port Number Registry, retrieved 15 November 2026. The registered name can differ from the everyday use, because popular software often adopts a port without registering it. The description and advice are written by Home Net Guide and describe common practice: any program can be set to use any port.

What port 5351 is used for

Port 5351 is used by NAT-PMP and its successor PCP, the Port Control Protocol. Like UPnP, they let a program ask the home router to forward a port to it, which helps games, video calls and file sharing. Apple routers introduced NAT-PMP, and many others support it.

Should port 5351 be open?

The router must accept these requests only from the inside network. In 2014 researchers found over a million routers that answered NAT-PMP on their internet side, letting outsiders rearrange their port forwarding. As with UPnP, switching it off means forwarding ports by hand, and is the safer setting.

Related ports

  • Port 1900 (SSDP (UPnP discovery)): devices announcing themselves for UPnP
  • Port 3478 (STUN and TURN): helping calls and games connect through home routers

See all port numbers for the full list and how ports, TCP and UDP work.

Previous: Port 5349 (STUN and TURN over TLS) · Next: Port 5353 (mDNS)