Bitcoin Forum
June 19, 2018, 11:32:01 AM *
News: Latest stable version of Bitcoin Core: 0.16.1  [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
1529407921
Hero Member
*
Offline Offline

Posts: 1529407921

View Profile Personal Message (Offline)

Ignore
1529407921
Reply with quote  #2

1529407921
Report to moderator
The World's Betting Exchange

Bet with play money. Win real Bitcoin. 5BTC Prize Fund for World Cup 2018.

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
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!