Home

What is the default Monero P2P port 18080?

18080 is the default peer-to-peer (P2P) port for a Monero node on the main network. Your node uses this connection to exchange blocks and transactions with other Monero nodes. It is not a mining-pool port, and you do not need to open it just to use a wallet or mine through someone else’s pool.

What port 18080 actually does

A node is software that checks Monero transactions and keeps up with the blockchain, the shared record of transactions. Monero’s node software is called monerod.

A port is a numbered doorway for network traffic. Port 18080 uses TCP, a standard way for computers to make reliable connections over the internet.

When your node connects with other nodes, it can:

  • Learn about newly mined blocks.
  • Download older blocks while catching up with the network.
  • Receive and relay transactions.
  • Share verified blockchain data with other nodes.

“Default” means this is the usual setting, not a requirement. You can configure a different P2P port, although most home users have no reason to change it.

Do you need to open it on your router?

Usually, no—not for your node to work.

Your node can normally make outbound connections to other nodes without any special router setup. Through those connections, it can download the blockchain and stay current.

Opening inbound TCP port 18080 lets other nodes initiate connections to yours. This helps make the Monero network more reachable, but it does not give your miner extra computing power or increase your expected mining rewards.

If you want to accept incoming connections, you may need to:

  • Allow TCP 18080 through your computer’s firewall.
  • Set up port forwarding, which tells your router to send incoming traffic on that port to your node’s local address.
  • Check whether your internet provider allows incoming connections.

Some providers use carrier-grade NAT, a setup where several customers share a public internet address. In that case, ordinary router port forwarding may not be enough. Your node can still use outbound connections.

How this relates to solo mining and P2Pool

For solo mining, your node uses its P2P connections to follow the Monero network and relay any block you find. Your mining software does not normally connect to port 18080 to request mining work.

Instead, mining tools often communicate with your node through RPC, an interface that lets software request information or actions. Monero’s default main-network RPC port is 18081.

P2Pool, a decentralized mining pool, also uses your Monero node. But P2Pool has its own networking connections and a separate connection for your miner. Port 18080 belongs to the Monero node, not to P2Pool’s pool network or miner connection.

Follow the setup instructions for your particular mining arrangement rather than treating 18080 as a general-purpose mining port.

The bottom line

Use TCP 18080 when configuring the default incoming P2P connection for a Monero main-network node. You can usually sync and mine without forwarding it, because outbound connections still work.

Keep it separate from RPC port 18081. Opening the P2P port does not mean you should expose RPC publicly; RPC needs its own careful access controls.

All 1,000 questions

MyAiMiner.com

MyAiMiner.com — Monero mining blog. 1,000 questions. Clear answers.

Monero (XMR) Mining BLOG

Hashes0
Blocks accepted0
Blocks rejected0
Runtime00:00:00