Updated on November 5, 2020
Improving P2P connectivity
Ethereum 2.0 relies on peer-to-peer (P2P) networking. By having a good peer count you increase the performance and health of your node. When a Teku node starts up, it looks for participants on the P2P network by listening for incoming connections, and finds and connects to peers.
While Teku is good at finding peers, changes to your network configuration can help improve your peer count.
Advertising your public IP address
If you are using a NAT, it’s easier to get peers by advertising your public address to the network.
--p2p-advertised-ip option to
advertise the address publicly.
Additionally, if on a home network, configure port forwarding on your router.
ip4.me website to view your public IP address.
By default, Teku listens for connections on port
9000 for TCP and UDP. You can configure the port
number with the
Configure port forwarding on your router and firewall to allow incoming and outgoing connections on the listening port for the TCP and UDP protocols.
View your router or firewall documentation to configure port-fowarding.