nethermind icon indicating copy to clipboard operation
nethermind copied to clipboard

Improve error msg when port is not available

Open dceleda opened this issue 3 years ago • 5 comments

Very often when a default port (30303) is not available, for example, because another instance is running, we got a SocketException saying that "address already in use". We could improve that message for a user by adding smth like: "Please make sure that you're not running other applications on port {port}. Check your Network.DiscoveryPort and Network.P2PPort in configuration"

dceleda avatar Jul 30 '22 19:07 dceleda

Hey @dceleda , I'm interested in contributing to this issue, so before I start working on it, would you mind sparing your time explaining what the issue is about and pointing me to some resources to get started.

glunkad avatar Jul 31 '22 06:07 glunkad

@rubo could you help @9gl ?

dceleda avatar Aug 01 '22 17:08 dceleda

@dceleda or @rubo Could you point me to the file to get started?

glunkad avatar Aug 01 '22 18:08 glunkad

@9gl Please see RlpxHost.cs

rubo avatar Aug 01 '22 19:08 rubo