Home

Do I need to open port 18080 to run a Monero node?

No, you do not need to open port 18080 for incoming connections to run a Monero node. Your node can connect to other nodes itself and stay fully synced without a router port-forwarding rule. Opening that port is optional: it lets other nodes start connections to yours, which helps the Monero network.

What port 18080 does

On Monero’s main network, TCP port 18080 is the default port for peer-to-peer connections. “Peer-to-peer” means nodes talking directly to one another to share blocks and transactions.

The important difference is which side starts the connection:

  • Outgoing: Your node contacts another node. Most home routers allow this automatically and let replies come back.
  • Incoming: Another node contacts yours first. Your router or firewall may block this unless you allow it.

Your node can download the blockchain, check transactions, and relay information over outgoing connections. The blockchain is the shared record of Monero transactions.

So, “you need internet access” does not mean “you must open an incoming port.”

When opening it is useful

Allowing incoming connections makes your node more useful to the wider network. It gives other nodes another place to connect, including nodes that cannot accept incoming connections themselves.

If you want to do this on a typical home IPv4 connection, you generally need to:

  • Allow incoming TCP 18080 through your computer’s firewall.
  • Forward TCP 18080 on your router to the computer running your node.
  • Keep that computer’s local network address stable so the forwarding rule continues to point to it.

You also need a publicly reachable internet address. If your provider uses carrier-grade NAT, which shares one public address among multiple customers, a router forwarding rule alone usually will not work. You can ask your provider about a public address, but this is unnecessary if you only want a working node.

With IPv6, port forwarding generally is not needed, but firewall rules still matter.

What this means for solo mining and P2Pool

Opening port 18080 is not a requirement for solo mining or using your own node with P2Pool. What matters is that your node is synced and the mining software can reach the services it needs.

P2Pool is a decentralized mining pool. It has its own networking requirements, separate from your Monero node’s peer-to-peer port. Opening 18080 does not automatically configure P2Pool.

It also does not directly increase your mining speed or your chance of finding a block. It changes who can connect to your node, not how much computing work your miner performs.

Do not confuse it with wallet access

Port 18081 is the default main-network RPC port. RPC is the interface that wallets and other software use to ask your node for information or request actions.

You do not need to expose that interface to the internet just because you allow incoming peer connections on 18080. Keep RPC access local unless you deliberately configure secure, restricted remote access. Never expose an unrestricted RPC interface casually.

The bottom line

For a normal home setup, start your node without forwarding any ports. If it connects and syncs, you have what you need. Open TCP 18080 only if you want to accept incoming peer connections and help the network stay well connected.

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