Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: slimofftb on February 21, 2013, 09:11:20 PM



Title: Bitcoin RPC Commands Sent from my website??
Post by: slimofftb on February 21, 2013, 09:11:20 PM
Is there a way to enable this using the bitcoin.conf i have the server running and i made a script in php to send rpc commands to bitcoind. It was a success in that nature locally. Now when i upload it to my webhost it doesnt work. i forwarded all my ports and everything. can someone please help?


Title: Re: Bitcoin RPC Commands Sent from my website??
Post by: slimofftb on February 21, 2013, 09:28:59 PM
would it be -listen in bitcoin.conf??


Title: Re: Bitcoin RPC Commands Sent from my website??
Post by: paraipan on February 21, 2013, 09:32:21 PM
Is there a way to enable this using the bitcoin.conf i have the server running and i made a script in php to send rpc commands to bitcoind. It was a success in that nature locally. Now when i upload it to my webhost it doesnt work. i forwarded all my ports and everything. can someone please help?

You may need to contact you webhost service and check if your scripts can make outbound connections, it's usually a locked feature on free hosting services.


Title: Re: Bitcoin RPC Commands Sent from my website??
Post by: slimofftb on February 21, 2013, 09:37:17 PM
is there a webhost that would accept bitcoin that would allow me to do this?

what would my bitcoin.conf look like? Thanks!


Title: Re: Bitcoin RPC Commands Sent from my website??
Post by: Jouke on February 21, 2013, 11:01:21 PM
Is there a way to enable this using the bitcoin.conf i have the server running and i made a script in php to send rpc commands to bitcoind. It was a success in that nature locally. Now when i upload it to my webhost it doesnt work. i forwarded all my ports and everything. can someone please help?

Your bitcoind standard only accepts RPC calls from localhost. You have to add the IP of your webhost in the bitcoin config: "rpcallowip <ip>"