Skip to content
You are reading the Teku development version documentation and some features may not be available in the stable release. You can switch to the stable version using the version box at the bottom of the screen.

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. Use the --p2p-advertised-ip option to advertise the address publicly.

Additionally, if on a home network, configure port forwarding on your router.


Check the website to view your public IP address.

Configuring ports

By default, Teku listens for connections on port 9000 for TCP and UDP. You can configure the port number with the --p2p-port option.

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.

Questions or feedback? You can discuss issues and obtain free support on Teku Discord channel.
For paid professional support by Consensys, contact us at