Catalog
fauziyasin-s2m4qw/erigon-network-ports

fauziyasin-s2m4qw

erigon-network-ports

Reference for all Erigon network ports. Use this when running multiple Erigon instances to avoid port conflicts. Lists every CLI flag that binds a port, its default value, and the protocol used.

v1.0LATEST
NewUpdated Aug 20, 2026

Erigon Port Reference

When running multiple Erigon instances on the same machine, every listening port must be unique per instance. Erigon will fail at startup if any port is already in use, reporting bind: address already in use.

All Ports That Must Be Changed

CLI Flag Default Protocol Description
--private.api.addr 127.0.0.1:9090 TCP (gRPC) Internal gRPC API for component communication (txpool, rpcdaemon, sentry, downloader)
--http.port 8545 TCP JSON-RPC HTTP server
--authrpc.port 8551 TCP Engine API (consensus layer auth RPC)
--ws.port 8546 TCP WebSocket RPC server
--torrent.port 42069 TCP+UDP BitTorrent protocol for snapshot downloads
--port 30303 TCP+UDP DevP2P network listening port (all eth versions multiplexed)
--caplin.discovery.port 4000 UDP Caplin consensus DISCV5 discovery
--caplin.discovery.tcpport 4001 TCP Caplin consensus DISCV5 TCP
--sentinel.port 7777 TCP Sentinel (consensus p2p service)
--beacon.api.port 5555 TCP Beacon Chain REST API
--mcp.port 8553 TCP MCP (Model Context Protocol) RPC server

Conditional Ports (only if enabled)

CLI Flag Default Protocol Description
--pprof.port 6060 TCP Go pprof profiling HTTP server (requires --pprof)
--metrics.port 6061 TCP Prometheus metrics HTTP server (requires --metrics)

Example: Two Instances

Instance 1 (using defaults):

./build/bin/erigon --datadir /path/to/datadir1

Instance 2 (all ports offset by +100):

./build/bin/erigon --datadir /path/to/datadir2 \
  --private.api.addr=127.0.0.1:9190 \
  --http.port=8645 \
  --authrpc.port=8651 \
  --ws.port=8646 \
  --torrent.port=42169 \
  --port=30403 \
  --caplin.discovery.port=4100 \
  --caplin.discovery.tcpport=4101 \
  --sentinel.port=7877 \
  --beacon.api.port=5655 \
  --mcp.port=8653

Notes

  • --private.api.addr takes a full host:port value, not just a port number.
  • The torrent port binds on both TCP and UDP; it is typically the first port conflict encountered at startup.
  • If --pprof or --metrics are enabled on both instances, their ports must also differ.

Overall Score

82/100

Grade

B

Good

Grades are signals, not a certification. Always review a skill yourself before use.

Safety

95

Quality

80

Clarity

88

Completeness

72

Summary

This skill provides a comprehensive reference guide for all Erigon network ports and their CLI configuration flags. It documents the default port assignments, protocols (TCP/UDP), and descriptions for each port-binding parameter, along with practical examples of how to configure multiple instances to avoid port conflicts.

Detected Capabilities

Reference documentationConfiguration guidanceExample bash commands

Trigger Keywords

Phrases that agents use to match this skill to user intent.

erigon port configurationrun multiple erigon nodeserigon port conflictsconfigure erigon portserigon cli flags

Use Cases

  • Run multiple Erigon blockchain nodes on the same machine without port conflicts
  • Configure Erigon instances with custom port assignments for network isolation
  • Troubleshoot port binding failures when starting Erigon
  • Document port assignments for monitoring and firewall configuration
  • Plan network topology for Erigon staking setups with consensus and execution clients

Quality Notes

  • Well-structured reference with clear table formatting for easy scanning
  • Includes both always-active and conditional ports, reducing confusion
  • Practical example demonstrates the pattern with consistent +100 offset strategy
  • Notes section addresses common gotchas (private.api.addr format, torrent port conflicts)
  • No security or credential concerns — purely reference material
  • Could benefit from troubleshooting section (e.g., how to detect port conflicts before startup)
Model: claude-haiku-4-5-20251001Analyzed: Aug 20, 2026

Reviews

Add this skill to your library to leave a review.

No reviews yet

Be the first to share your experience.

Use fauziyasin-s2m4qw/erigon-network-ports in your dev environment

Command Palette

Search for a command to run...