Skip to content

Commit 7cf35ff

Browse files
committed
fix: bind validator p2p and rpc to all interfaces
Validator mode left listen addresses at the Tendermint default of 127.0.0.1, making nodes unreachable by peers in containerized environments. Align with full/archive modes by binding to 0.0.0.0.
1 parent 12deb0b commit 7cf35ff

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

defaults.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,8 @@ func applyModeOverrides(cfg *SeiConfig, mode NodeMode) {
246246

247247
func applyValidatorOverrides(cfg *SeiConfig) {
248248
cfg.TxIndex.Indexer = []string{"null"}
249+
cfg.Network.RPC.ListenAddress = "tcp://0.0.0.0:26657"
250+
cfg.Network.P2P.ListenAddress = "tcp://0.0.0.0:26656"
249251
cfg.Network.P2P.AllowDuplicateIP = false
250252

251253
cfg.API.REST.Enable = false

0 commit comments

Comments
 (0)