Author

Topic: bitcoind RPC port 22736 unable to bind (Read 131 times)

newbie
Activity: 42
Merit: 0
December 09, 2017, 04:16:38 AM
#1
Some Context...

I am setting up the seed nodes for the altcoin I am developing for learning purposes.

In chainparams.cpp I have changed the vSeeds vector to what I hope will be my seed nodes, by adding the IPV4 addresses of my servers.

I have one seed node with the ip address XX.XX.140.199

and my other one is ip address XX.XX.138.152

I have changed the IP addresses to the ones above, and RPC ports to 22736 in

chainparams.cpp on line 123

chainparamsseeds.h on line 11 and 12

contrib/seeds/nodes_main.txt line 1 and 2

chainparamsbase.cpp on lines 35, 48, 62

THE ERROR...

When I build this and run GELFd which is equivalent to bitcoind (but I renamed it), I get this error:
Error: Unable to bind to 0.0.0.0:22736 on this computer (bind returned error
Address already in use (98))
Error: Failed to listen on any port. Use -listen=0 if you want this.


Have I chosen a bad port? Or is there some other issue here that I'm not seeing?

When I run netstat I can see that the port I have chosen is not in use by something else
Jump to: