fix(rpc): bind default json-rpc listen address to localhost (backport #1613) (#1621)

* fix(rpc): bind default json-rpc listen address to localhost (#1613)

* update nix

* bind default json-rpc to 127.0.0.1

* add change doc

* Update CHANGELOG.md

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
(cherry picked from commit 3587015b27625bc6c0a002142db0a4dfdc9ecf59)

# Conflicts:
#	CHANGELOG.md

* address merge conflicts

Co-authored-by: mmsqe <tqd0800210105@gmail.com>
Co-authored-by: MalteHerrmann <malte@evmos.org>
This commit is contained in:
mergify[bot]
2023-01-20 16:48:07 +01:00
committed by GitHub
co-authored by mmsqe MalteHerrmann
parent 9f2e21fa90
commit c1c25b1818
10 changed files with 23 additions and 23 deletions
+3 -3
View File
@@ -35,13 +35,13 @@ const (
DefaultGRPCAddress = "0.0.0.0:9900"
// DefaultJSONRPCAddress is the default address the JSON-RPC server binds to.
DefaultJSONRPCAddress = "0.0.0.0:8545"
DefaultJSONRPCAddress = "127.0.0.1:8545"
// DefaultJSONRPCWsAddress is the default address the JSON-RPC WebSocket server binds to.
DefaultJSONRPCWsAddress = "0.0.0.0:8546"
DefaultJSONRPCWsAddress = "127.0.0.1:8546"
// DefaultJsonRPCMetricsAddress is the default address the JSON-RPC Metrics server binds to.
DefaultJSONRPCMetricsAddress = "0.0.0.0:6065"
DefaultJSONRPCMetricsAddress = "127.0.0.1:6065"
// DefaultEVMTracer is the default vm.Tracer type
DefaultEVMTracer = ""