profile
viewpoint

Ask questionsmonero-wallet-rcp should check on startup if it can bind to the specified --rpc-bind-port

monero-wallet-rpc will start up, check for old transaction, and after all of that finally tries to bind to the --rpc-bind-port. If it can't do so, it crashes.

2020-10-01 20:39:23.930 E Failed to bind IPv4: bind: Permission denied
2020-10-01 20:39:23.931 F Error starting server: Failed to bind IPv4 (set to required)
2020-10-01 20:39:23.931 E Failed to bind server
2020-10-01 20:39:23.932 E Failed to initialize wallet RPC server

I think it should do that earlier on. What do you think?

monero-project/monero

Answer questions thestick613

I used a wrong term. It doesn't crash, it just exits, but it's very frustrating, because the wallet loads all the previous transactions, which may take a few minutes, only to print an error and exit. I suggested testing the port before doing all that hard work.

useful!
source:https://uonfu.com/
Github User Rank List