From a834998a34fc5ecf7115f5aba9c10a1258491ed8 Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Wed, 26 Jun 2024 17:08:43 +0400 Subject: [PATCH] rest-gw: Fix listening endpoint config Previous configuration has not worked from `neofs-rest-gw@v0.9.0`. The gateway saw no configured endpoints and used default `localhost:8080` which is already bound to the storage node. Fixes ``` fatal neofs-rest-gw/main.go:119 start http {"error": "listen tcp 127.0.0.1:8080: bind: address already in use"} ``` Signed-off-by: Leonard Lyubich --- rest-gw/rest.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest-gw/rest.env b/rest-gw/rest.env index 888a8c6..32127f4 100644 --- a/rest-gw/rest.env +++ b/rest-gw/rest.env @@ -2,4 +2,4 @@ REST_GW_WALLET_PATH=/config/wallet-rest.json REST_GW_WALLET_PASSPHRASE=one REST_GW_WALLET_ADDRESS=NPFCqWHfi9ixCJRu7DABRbVfXRbkSEr9Vo REST_GW_POOL_PEERS_0_ADDRESS=localhost:8080 -REST_GW_SERVER_LISTEN_ADDRESS=0.0.0.0:8090 +REST_GW_SERVER_ENDPOINTS_0_ADDRESS=0.0.0.0:8090