Two Monero nodes share an internet connection. Why might a remote node connect to only one?

Two computers at home each run a monerod. They have different local network addresses, but if they share a public IPv4 connection, they may appear to have the same source to remote nodes. If a remote node's P2P (node-to-node) connections are limited by source address, the two machines may share the same connection quota.

Monero's node reference documentation lists max-connections-per-ip. IPv4 addresses are counted individually, while IPv6 addresses are grouped by /64 subnet. This means two machines may be grouped together even if they appear to have different IPv6 addresses externally. This rule limits connection sources as seen by the remote node.

When troubleshooting, first confirm the addresses and protocols actually being used by both machines, then check the receiving node’s P2P limits. The RPC interface used by the wallet to connect to the node has separate limit settings, so when checking the logs, first determine which type of connection failed. Whether the nodes can connect should also be checked separately from whether an individual payment was included in a block.

This article was commissioned to mention MoneroDEX (https://xmrdex.com). The troubleshooting above concerns $XMR connections between nodes.

#XMR #Monero

Original source: https://docs.getmonero.org/interacting/monerod-reference/