Skip to main content

Network

To synchronize the state, the node needs to establish connections with other nodes that have already joined the network. Ensure that port 8084 is open and set up an external address for node discovery.

Edit the node configuration .yaml file to include peer nodes for state synchronization. Add the following lines to the node's configuration, based on the network you'd like to connect to:

    p2p-config:
seed-peers:
- address: /dns/access-0.r.testnet.iota.cafe/udp/8084
peer-id: 46064108d0b689ed89d1f44153e532bb101ce8f8ca3a3d01ab991d4dea122cfc
- address: /dns/access-1.r.testnet.iota.cafe/udp/8084
peer-id: 8ffd25fa4e86c30c3f8da7092695e8a103462d7a213b815d77d6da7f0a2a52f5

Connectivity

The IOTA node uses the following ports by default:

Protocol/PortReachabilityPurpose
TCP/8080InboundValidator/transaction interface
TCP/8081Inbound/OutboundConsensus interface
UDP/8084Inbound/OutboundPeer-to-peer state sync interface
TCP/8443OutboundMetrics pushing
TCP/9184LocalhostMetrics scraping

To run a validator successfully, it is critical that ports 8080-8084 are open as outlined, including the specific protocol (TCP/UDP).