fix: change rpc host to localhost (#16003) (#16007)

This commit is contained in:
Igor Sirotin 2024-08-07 14:05:19 +01:00 committed by GitHub
parent bef66612c5
commit b8bcab79a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -22,12 +22,12 @@ proc defaultAPIConfig*(): APIConfig =
result.httpEnabled = true result.httpEnabled = true
checkAndSetPort(Port(8545), result.httpEnabled) checkAndSetPort(Port(8545), result.httpEnabled)
result.httpHost = "0.0.0.0" result.httpHost = "127.0.0.1"
result.httpPort = 8545 result.httpPort = 8545
result.wsEnabled = true result.wsEnabled = true
checkAndSetPort(Port(8586), result.wsEnabled) checkAndSetPort(Port(8586), result.wsEnabled)
result.wsHost = "0.0.0.0" result.wsHost = "127.0.0.1"
result.wsPort = 8586 result.wsPort = 8586
proc toJson*(self: APIConfig): JsonNode = proc toJson*(self: APIConfig): JsonNode =