Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable RPC connections from within the local docker network. #308

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

hirnidrin
Copy link

Description

The docker container does not accept HTTP RPC requests from other containers within the same local docker network. It responds with HTTP status "403 invalid host specified".

Changes

Add the option --http.vhosts=* to the docker run ... command line.

See ethereum/go-ethereum#16526 (comment)

and https://geth.ethereum.org/docs/fundamentals/command-line-options

--http.vhosts=* is required, otherwise geth will respond "403 invalid host specified" to clients running on peer containers (eg load balancers etc).

See  ethereum/go-ethereum#16526 (comment)

and https://geth.ethereum.org/docs/fundamentals/command-line-options
Copy link

netlify bot commented Jul 25, 2024

Deploy Preview for scroll-documentation ready!

Name Link
🔨 Latest commit 7299f80
🔍 Latest deploy log https://app.netlify.com/sites/scroll-documentation/deploys/66a265bfba58b000088fae2c
😎 Deploy Preview https://deploy-preview-308.docs.scroll.xyz
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant