Home / Port numbers / Port 179
Port 179: BGP
How networks on the internet exchange routes. Port 179 uses TCP.
- Port
- 179
- Commonly used for
- BGP
- Transport
- TCP
- Encrypted
- No
- Range
- System (well-known) port, 0 to 1023
- Our advice
- Keep it closed to the internet
- IANA registration
bgpBorder Gateway Protocol (TCP, UDP, SCTP)
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 179 is used for
Port 179 is the Border Gateway Protocol, the routing protocol that holds the internet together. Each network (autonomous system) keeps long-lived TCP sessions to its neighbours on this port and uses them to announce which IP address ranges it can reach.
Should port 179 be open?
Routers accept BGP sessions only from neighbours configured by hand, and operators filter port 179 from everyone else. An ordinary host or home router has no reason to listen on it at all.
Related ports
- Port 520 (RIP): an early routing protocol for small networks
Related tool: ASN lookup. See all port numbers for the full list and how ports, TCP and UDP work.