cmd/geth: make authrpc listening address settable from command line (#24522)

The default listening address "localhost" is not sufficient when running
geth in Docker.
This commit is contained in:
Felix Lange
2022-03-09 14:45:39 +01:00
committed by GitHub
parent 65ed1a6871
commit 5079e3c6e5
6 changed files with 25 additions and 8 deletions

View File

@ -50,6 +50,7 @@ var (
var DefaultConfig = Config{
DataDir: DefaultDataDir(),
HTTPPort: DefaultHTTPPort,
AuthHost: DefaultAuthHost,
AuthPort: DefaultAuthPort,
HTTPModules: []string{"net", "web3"},
HTTPVirtualHosts: []string{"localhost"},