Skip to content

Commit 8880fd4

Browse files
authored
Make el client listens on all interfaces for P2P (instead of 127.0.0.1) (#220)
This make it possible to sync another execution client from outside the Docker compose.
1 parent 4744474 commit 8880fd4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

playground/components.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ func (r *RethEL) Run(svc *Service, ctx *ExContext) {
447447
"--datadir", "/data_reth",
448448
"--color", "never",
449449
"--ipcpath", "/data_reth/reth.ipc",
450-
"--addr", "127.0.0.1",
450+
"--addr", "0.0.0.0",
451451
"--port", `{{Port "rpc" 30303}}`,
452452
// "--disable-discovery",
453453
// http config
@@ -731,6 +731,7 @@ func (o *OpReth) Run(service *Service, ctx *ExContext) {
731731
"--disable-discovery",
732732
"--color", "never",
733733
"--metrics", `0.0.0.0:{{Port "metrics" 9090}}`,
734+
"--addr", "0.0.0.0",
734735
"--port", `{{Port "rpc" 30303}}`).
735736
WithArtifact("/data/jwtsecret", "jwtsecret").
736737
WithArtifact("/data/l2-genesis.json", "l2-genesis.json").

0 commit comments

Comments
 (0)