When I run the server on localhost and connect to it from localhost it works. However when I add in the proper ip and run it from an external server it gives a connection refused.
Bitcoin.conf contents:
server=1
rpcuser=root
rpcpassword=examplepassword
rpcconnect=123.123.123.123
rpcport=8332
rpcalowip=123.123.123.123 (the ip of the external server).
So what am I doing wrong?
seems you are using bitcoind to connect to 123.123.123.123 and send the commands there.
remove rpcconnect=123.123.123.123. only the rpcallowip tells the bitcoind that the host with this ip
is allowed to connect to your bitcoind. the rpcconnect tells bitcoind to connect to that server and send the commands
there...