Author

Topic: Can't RPC Connect to external server with bitcoind (Read 546 times)

staff
Activity: 3458
Merit: 6793
Just writing some code
rpcuser=
rpcpassword=
Don't use rpcuser and rpcpassword, they are deprecated. Instead use rpcauth. A script for generating that is available here:
https://github.com/bitcoin/bitcoin/tree/master/share/rpcuser

yes but what does the asterisk on the ip mean?
It means allow any IP address on the range 192.168.1.0 to 192.168.1.255. Of course you should be using your actual IP address that will be making the connection, not your local IP address if you are not on the same local network.


Since you are using a VPS, double check that the VPS provider does not have a firewall blocking the ports that you want. Sometimes they will have an external firewall which you must configure from your account and not on the VPS itself.
hero member
Activity: 867
Merit: 1000
Does your config file have the basic four lines to enable rpc?

server=1
rpcallowip=192.168.1.*
rpcuser=
rpcpassword=


yes but what does the asterisk on the ip mean?
vh
hero member
Activity: 699
Merit: 666
Does your config file have the basic four lines to enable rpc?

server=1
rpcallowip=192.168.1.*
rpcuser=
rpcpassword=
hero member
Activity: 867
Merit: 1000
The wallet is synced and up to date. I can't open connect to the rpcport. I'm on a ubuntu vps. I opened the udp/tcp ports. Is there something else I have to do?
Jump to: