Skip to content

Commit

Permalink
rest-gw: Fix listening endpoint config
Browse files Browse the repository at this point in the history
Previous configuration has not worked from `[email protected]`. 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 <[email protected]>
  • Loading branch information
cthulhu-rider committed Jun 26, 2024
1 parent 13786b8 commit a834998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rest-gw/rest.env
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a834998

Please sign in to comment.