Port 520: RIP
Port 520 is used by RIP over UDP. Port 520 is the Routing Information Protocol. It appears in the study tables for 200-301.
What runs on port 520
RIP uses UDP at the application layer. RIP routing updates between neighbours; RIPv2 sends them to multicast 224.0.0.9. Treat it as unencrypted: credentials or content can be read by anyone on the path.
Port 520 is the Routing Information Protocol. A RIP router sends its routing table in UDP updates from and to this port every 30 seconds by default. RIPv1 broadcasts the updates, and RIPv2 sends them to the multicast address 224.0.0.9 and can carry subnet masks.
Secure alternative and common mix-ups
RIP is not protected on its own, so the study tables point to OSPF or RIPv2 authentication as the replacement.
RIP counts hops and treats 16 as unreachable, so it only suits very small networks. Do not confuse it with RIPng, the IPv6 version, which uses UDP port 521 and the multicast group FF02::9.
Check port 520 on your own network
To test a remote host from Windows, run Test-NetConnection with the host name and -Port 520. From Linux or macOS, run nc -vz host 520 and add -u for UDP. To see what is listening on the machine itself, use ss -tulpn on Linux or netstat -ano on Windows and look for :520.
UDP has no handshake, so a silent probe does not prove the port is closed. No reply can mean the port is open and the service ignored the probe, or that a firewall dropped it. A scanner such as nmap with -sU reports that state as open or filtered.
Exam objectives that include it
These are the objectives whose tables list port 520. The same row appears in the cheat sheet for each exam.
Related ports
Learn 520 together with these. They are its pair, its secure counterpart or a service that sits under the same objective.
Questions
Not by itself. RIP on port 520 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.