We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Geth version: v1.1.11 OS & Version: Linux
v1.1.11
config.toml:
[Node] DataDir = "node" InsecureUnlockAllowed = false NoUSB = true IPCPath = "geth.ipc" HTTPHost = "127.0.0.1"
geth --config config.toml --http.addr 0.0.0.0 --http.port 8545 would expect RPC listening on 0.0.0.0
geth --config config.toml --http.addr 0.0.0.0 --http.port 8545
0.0.0.0
RPC is listening on 127.0.0.1, still using the value set in config.toml
127.0.0.1
INFO [07-15|05:53:19.192] HTTP server started endpoint=127.0.0.1:8545 prefix= cors= vhosts=*
HTTPHost is set by config.toml and would not be overwritten by --http.addr
--http.addr
if ctx.GlobalBool(HTTPEnabledFlag.Name) && cfg.HTTPHost == "" { cfg.HTTPHost = "127.0.0.1" if ctx.GlobalIsSet(HTTPListenAddrFlag.Name) { cfg.HTTPHost = ctx.GlobalString(HTTPListenAddrFlag.Name) } }
default HTTPHost in config.toml in each release should be kept as empty string ""
HTTPHost
The text was updated successfully, but these errors were encountered:
Hi, this issue will be fixed in #999, and it should be included in the next release.
Sorry, something went wrong.
thank you
yutianwu
No branches or pull requests
System information
Geth version:
v1.1.11
OS & Version: Linux
Expected behaviour
config.toml:
geth --config config.toml --http.addr 0.0.0.0 --http.port 8545
would expect RPC listening on0.0.0.0
Actual behaviour
RPC is listening on
127.0.0.1
, still using the value set in config.tomlBacktrace
HTTPHost is set by config.toml and would not be overwritten by
--http.addr
Suggest/Fix
default
HTTPHost
in config.toml in each release should be kept as empty string ""The text was updated successfully, but these errors were encountered: