Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I used the bitcoin client but i want to connect to it using public ip adress not localhost.

From that machine i could reach bitcoin using localhost but when I am using public ip address with the ports required it is not working.

  • Firewall is down on that machine.

I added this line to bitcoin.conf

  • allowrpc=mypublicaddress

Also my debug window I see these two lines

  • 2014-06-05 15:04:43 AddLocal(mylocalAddress:18333,1)
  • 2014-06-05 15:04:44 AddLocal(myPublicAdress:18333,4)
share|improve this question
up vote 3 down vote accepted

You need to forward the port if you're in a LAN.

You need to add the IP of the server who is making the JSON-RPC call to the bitcoin.config file such as below:

rpcallowip= IPMakingTheRequest
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.