mirror of
https://github.com/fluencelabs/tendermint
synced 2025-07-31 04:01:55 +00:00
RPC only listening to localhost
This commit is contained in:
@@ -37,7 +37,7 @@ Level = "debug"
|
||||
|
||||
[RPC.HTTP]
|
||||
# For the RPC API HTTP server. Port required.
|
||||
ListenAddr = "0.0.0.0:8081"
|
||||
ListenAddr = "localhost:8081"
|
||||
|
||||
[Alert]
|
||||
# TODO: Document options
|
||||
@@ -55,7 +55,7 @@ func initDefaults() {
|
||||
App.SetDefault("Log.Stdout.Level", "info")
|
||||
App.SetDefault("Log.File.Dir", rootDir+"/log")
|
||||
App.SetDefault("Log.File.Level", "debug")
|
||||
App.SetDefault("RPC.HTTP.ListenAddr", "0.0.0.0:8081")
|
||||
App.SetDefault("RPC.HTTP.ListenAddr", "localhost:8081")
|
||||
|
||||
App.SetDefault("GenesisFile", rootDir+"/genesis.json")
|
||||
App.SetDefault("AddrBookFile", rootDir+"/addrbook.json")
|
||||
|
Reference in New Issue
Block a user