Port 179: BGP
Port 179 is used by BGP over TCP. Port 179 is the Border Gateway Protocol. It appears in the study tables for 200-301.
What runs on port 179
BGP uses TCP at the application layer. Border Gateway Protocol: peers form a TCP session on port 179 to exchange routes between autonomous systems. Treat it as unencrypted: credentials or content can be read by anyone on the path.
Port 179 is the Border Gateway Protocol. Two BGP routers open a TCP connection on this port and keep it up for as long as the neighbor relationship lasts, trading prefixes and path attributes. It is the protocol that glues autonomous systems together on the internet, and enterprises use it to talk to their providers.
Secure alternative and common mix-ups
BGP is not protected on its own, so the study tables point to TCP-AO or MD5 session authentication plus route filtering as the replacement, which uses port 139.
BGP rides on TCP, unlike OSPF and EIGRP, which use their own IP protocol numbers and need no port. A BGP neighbor stuck in Active or Idle often means the TCP session never opened, so a firewall or ACL blocking TCP 179 in either direction is the first thing to check.
Check port 179 on your own network
To test a remote host from Windows, run Test-NetConnection with the host name and -Port 179. From Linux or macOS, run nc -vz host 179. To see what is listening on the machine itself, use ss -tulpn on Linux or netstat -ano on Windows and look for :179.
A refused connection usually means no service is listening, and a probe that hangs usually means a firewall dropped it. Check the service, then the host firewall, then the network firewall, in that order.
Exam objectives that include it
These are the objectives whose tables list port 179. The same row appears in the cheat sheet for each exam.
Related ports
Learn 179 together with these. They are its pair, its secure counterpart or a service that sits under the same objective.
Questions
Not by itself. BGP on port 179 sends data without encryption, so use the secure replacement or keep it on a trusted network.
Keep going with the ports quiz and the cheat sheets.
Free plan, no card.