Bitcoin Forum
May 23, 2018, 06:12:47 AM *
News: Latest stable version of Bitcoin Core: 0.16.0  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: PHP problems.  (Read 878 times)
BitPorium
Hero Member
*****
Offline Offline

Activity: 584
Merit: 500


View Profile
July 13, 2011, 03:27:13 PM
 #1

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
The network tries to produce one block per 10 minutes. It does this by automatically adjusting how difficult it is to produce blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1527055967
Hero Member
*
Offline Offline

Posts: 1527055967

View Profile Personal Message (Offline)

Ignore
1527055967
Reply with quote  #2

1527055967
Report to moderator
1527055967
Hero Member
*
Offline Offline

Posts: 1527055967

View Profile Personal Message (Offline)

Ignore
1527055967
Reply with quote  #2

1527055967
Report to moderator
TeraPool
Jr. Member
*
Offline Offline

Activity: 42
Merit: 0


View Profile
July 13, 2011, 05:38:44 PM
 #2

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.

Check out my Bitcoin mining tutorial! (https://terapool.com/how-to-mine-bitcoins.php)
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!