From 7299f800a18eff79a77fa2c759416d0c04fca4e2 Mon Sep 17 00:00:00 2001 From: hirnidrin Date: Thu, 25 Jul 2024 16:41:17 +0200 Subject: [PATCH] Enable RPC connections from within the local docker network. --http.vhosts=* is required, otherwise geth will respond "403 invalid host specified" to clients running on peer containers (eg load balancers etc). See https://github.com/ethereum/go-ethereum/issues/16526#issuecomment-992480651 and https://geth.ethereum.org/docs/fundamentals/command-line-options --- src/content/docs/en/developers/guides/running-a-scroll-node.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/en/developers/guides/running-a-scroll-node.mdx b/src/content/docs/en/developers/guides/running-a-scroll-node.mdx index 0e003820e..163d0d538 100644 --- a/src/content/docs/en/developers/guides/running-a-scroll-node.mdx +++ b/src/content/docs/en/developers/guides/running-a-scroll-node.mdx @@ -115,7 +115,7 @@ Running the node in Docker might have a significant impact on node performance. --scroll \ --datadir "/volume/l2geth-datadir" \ --gcmode archive --cache.noprefetch \ - --http --http.addr "0.0.0.0" --http.port 8545 --http.api "eth,net,web3,debug,scroll" \ + --http --http.addr "0.0.0.0" --http.port 8545 --http.api "eth,net,web3,debug,scroll" --http.vhosts=* \ --l1.endpoint "$L2GETH_L1_ENDPOINT" --rollup.verify ``` For Scroll Sepolia, set the chain ID to 534351.