Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: jhfire on April 27, 2011, 03:17:52 AM



Title: BitCoin Server Trouble
Post by: jhfire on April 27, 2011, 03:17:52 AM
I want to connect to my BitCoin wallet and send commands from my website. I've checked out https://en.bitcoin.it/wiki/API_reference_(JSON-RPC) and it worked good on 127.0.0.1:8332. How do I get that onto my website?


Title: Re: BitCoin Server Trouble
Post by: fpgaminer on April 27, 2011, 04:05:31 AM
Quote
Edit the bitcoin.conf file (in the bitcoin data directory), and add a line for each IP address allowed to connect:

Example:
Code:
rpcallowip=10.11.13.15
rpcallowip=10.11.13.16

bitcoin.conf is located at %AppData%\Bitcoin on Windows Vista/7.

You may also want to look at this for a more secure solution:
https://en.bitcoin.it/wiki/Enabling_SSL_on_original_client_daemon (https://en.bitcoin.it/wiki/Enabling_SSL_on_original_client_daemon)


Title: Re: BitCoin Server Trouble
Post by: jhfire on April 27, 2011, 03:36:46 PM
Would I need to port forward?


Title: Re: BitCoin Server Trouble
Post by: Matt Corallo on April 27, 2011, 09:48:26 PM
Would I need to port forward?
You probably don't want anyone to be able to send your coins to themselves on your behalf, but if you want this to be insecure, forward port 8332.