I started running RSK node on Windows and when I tried:
curl -X POST -H "Content-Type:application/json" --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}' http://localhost:4444
I always get:
{"jsonrpc":"2.0","id":1,"result":"0x0"}
This obviously means that my node is not syncing,
so I checked the logs and found Address already in use
:
Exception in thread "UDPServer" co.rsk.net.discovery.
PeerDiscoveryException: Discovery can't be started.
At co.rsk.net.discovery.UDPServer$1.run(UDPServer.java:65) - caused by: java.net.BindException: Address already in use...
I do not have any other RSK instance running, so I'm not sure why I'm getting this error.