Skip to main content
ALL CHAINS

Port Reference

MainNet Ports

ChainProtocolPortPurpose
ELATCP20333Node info (HttpInfoPort)
ELATCP20334REST API
ELATCP20335WebSocket
ELATCP20336JSON-RPC
ELATCP20338P2P
ELATCP20339BPoS consensus
ESCUDP20630Bootnode discovery
ESCTCP20632Oracle RPC / WebSocket
ESCTCP20636JSON-RPC (HTTP)
ESCTCP+UDP20638P2P
ESCTCP20639PBFT consensus
EIDUDP20640Bootnode discovery
EIDTCP20642Oracle RPC / WebSocket
EIDTCP20646JSON-RPC (HTTP)
EIDTCP+UDP20648P2P
EIDTCP20649PBFT consensus
PGTCP20672Oracle RPC / WebSocket
PGTCP20676JSON-RPC (HTTP)
PGTCP+UDP20678P2P
PGTCP20679PBFT consensus
ArbiterTCP20536JSON-RPC
ArbiterTCP20538REST API / P2P

TestNet Ports

TestNet uses the 21xxx port range instead of 20xxx. Replace the leading 20 with 21 for all ports above.

Example: ELA JSON-RPC is 21336 on TestNet instead of 20336.

Firewall Rules

Minimal (ELA full node only):

# P2P is required — without it, your node cannot participate in the network
sudo ufw allow 20338/tcp comment "ELA P2P"

# BPoS port — required if you are a registered supernode
sudo ufw allow 20339/tcp comment "ELA BPoS"

# Deny RPC from external access (it should only be accessed locally)
sudo ufw deny 20336/tcp comment "ELA RPC - local only"

Full supernode:

# ELA
sudo ufw allow 20338/tcp comment "ELA P2P"
sudo ufw allow 20339/tcp comment "ELA BPoS"

# ESC
sudo ufw allow 20638/tcp comment "ESC P2P TCP"
sudo ufw allow 20638/udp comment "ESC P2P UDP"
sudo ufw allow 20639/tcp comment "ESC PBFT"

# EID
sudo ufw allow 20648/tcp comment "EID P2P TCP"
sudo ufw allow 20648/udp comment "EID P2P UDP"
sudo ufw allow 20649/tcp comment "EID PBFT"

# PG
sudo ufw allow 20678/tcp comment "PG P2P TCP"
sudo ufw allow 20678/udp comment "PG P2P UDP"
sudo ufw allow 20679/tcp comment "PG PBFT"

# Enable firewall
sudo ufw enable

Port Purpose Reference

Port TypePurposeMust Be Public?
P2PPeer-to-peer block/transaction propagationYes: required for network participation
BPoS/PBFTConsensus protocol messages between supernodesYes: required for block production
JSON-RPCAPI access for queries and transactionsNo: keep behind firewall or reverse proxy
RESTAlternative API format (ELA main chain)No: keep behind firewall
WebSocketSubscription-based API (ESC/EID)No: keep behind firewall or reverse proxy
OracleCross-chain bridge communicationNo: internal only (loopback)
BootnodeInitial peer discovery (UDP)Only if running a bootnode