Skip to main content

Authentication and Exposure Policy

Expose only the interfaces required by consumers, and expose them through a controlled gateway rather than raw client ports.

PortInterfaceExposure
30303Execution P2PPublic, client peer traffic only.
8545JSON-RPC HTTPPrivate or authenticated public gateway.
8546JSON-RPC WebSocketPrivate or authenticated public gateway with connection limits.
5052Beacon APIInternal/protected only.
8551Engine APIInternal only; JWT required.
6060MetricsInternal monitoring only.

:::warning Method policy Allow eth, net, and web3 for general RPC. Keep debug, trace, admin, personal, and miner-related namespaces disabled on public endpoints. :::

Use /developer/authentication, /developer/rate-limiting, and /operations/monitoring for shared controls.