Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: BitPorium on July 13, 2011, 03:27:13 PM



Title: PHP problems.
Post by: BitPorium on July 13, 2011, 03:27:13 PM
I am trying to send a transaction using the rpc interface. I am getting the following error
Fatal error: Uncaught exception 'Exception' with message 'Unable to connect to http://username:password@127.0.0.1:999/' in D:\Program Files (x86)\EasyPHP-5.3.6.0\www\bitcoinWebInterface\jsonRPCClient.php:140 Stack trace: #0 D:\Program Files (x86)\EasyPHP-5.3.6.0\www\bitcoinWebInterface\functions.php(51): jsonRPCClient->__call('sendtoaddress', Array) #1 D:\Program Files (x86)\EasyPHP-5.3.6.0\www\bitcoinWebInterface\functions.php(51): jsonRPCClient->sendtoaddress('15UH4oBkY5RLfM4...', '1.00000000') #2 {main} thrown in D:\Program Files (x86)\EasyPHP-5.3.6.0\www\bitcoinWebInterface\jsonRPCClient.php on line 140

but all the other functions work that return data. getinfo, getreceivedbyaddress, they all work,i just cant send any coins through the rpc interface. Any ideas? thanks


Title: Re: PHP problems.
Post by: TeraPool on July 13, 2011, 05:38:44 PM
Not sure if that's built in or not but I for one would be glad if you could not send coins via the RPC interface.

If you could, port 8332 would be jam packed with hackers and port sniffers.