From b8bcab79a9bb7229d378aa6c2d0dc994088f78e5 Mon Sep 17 00:00:00 2001 From: Igor Sirotin Date: Wed, 7 Aug 2024 14:05:19 +0100 Subject: [PATCH] fix: change rpc host to localhost (#16003) (#16007) --- src/app_service/service/accounts/dto/api_config.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app_service/service/accounts/dto/api_config.nim b/src/app_service/service/accounts/dto/api_config.nim index 80c2c37e0f..991bab37ff 100644 --- a/src/app_service/service/accounts/dto/api_config.nim +++ b/src/app_service/service/accounts/dto/api_config.nim @@ -22,12 +22,12 @@ proc defaultAPIConfig*(): APIConfig = result.httpEnabled = true checkAndSetPort(Port(8545), result.httpEnabled) - result.httpHost = "0.0.0.0" + result.httpHost = "127.0.0.1" result.httpPort = 8545 result.wsEnabled = true checkAndSetPort(Port(8586), result.wsEnabled) - result.wsHost = "0.0.0.0" + result.wsHost = "127.0.0.1" result.wsPort = 8586 proc toJson*(self: APIConfig): JsonNode =