Forward Ports for Peering
Servers in the XRP Ledger peer-to-peer network talk to each other over the peer protocol. This page explains how to let that traffic through your firewall, so other servers can connect to yours.
- Section
- Infrastructure
What it covers
A firewall is software or hardware that blocks unwanted network traffic. A port is a numbered door for traffic on a machine. The page advises you to protect your server from most ports with a firewall, but to open or forward the peer protocol port.
When you need it
While your xrpld server runs, call the server_info method. The peers field of the info object shows how many peers are connected to your server. If this number is exactly 10 or 11, that usually means your firewall is blocking incoming connections.
The main points
Set your firewall to allow incoming traffic on the peer protocol port, which is port 2459 in the default config file. How you open a port depends on your firewall. If your server sits behind a router that does Network Address Translation, known as NAT, set the router to forward the port to your server. With the firewalld software firewall on Red Hat Enterprise Linux, the firewall-cmd tool can open port 2459 to all incoming traffic. Restart the xrpld server afterwards.
Hosted servers
If your hosting service has a virtual firewall, you do not need firewalld. You still need to allow inbound traffic from the open internet on the peer port. Make sure the rules apply to your host or virtual machine.
Source: xrpl.org. Read 6 December 2026.
Zerpedia states what the source says, in plain words, and gives no opinion. How Zerpedia is made