Bitcoin Forum
June 15, 2024, 04:16:34 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: bitcoind RPC port 22736 unable to bind  (Read 125 times)
Ealex (OP)
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
December 09, 2017, 09: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
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!