Bitcoin Forum
May 25, 2024, 03:00:51 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Can't connect to BTC server JSON  (Read 496 times)
IamAGentleman (OP)
Full Member
***
Offline Offline

Activity: 134
Merit: 100


View Profile
January 18, 2015, 12:07:28 AM
 #1

Okay, so my btc server is set up on my localmachine, I am trying to connect from my website, but it throws an error:


Warning: fopen(http://...@removedipforthispost/): failed to open stream: Connection refused in /application/libs/jsonRPCClient.php on line 132

Fatal error: Uncaught exception 'Exception' with message 'Unable to connect


My port forwarding my my router is set the the computer it's on and port 8332. And on my bitcoin machine the conf file is allow all ips server=1, port 8332, username and password. yet I am still getting that error. It works on my other pc on the same wireless, but I check through a proxy and the login page is showing so I don't think it's blocking?


Anatidaephobia
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
January 18, 2015, 12:26:31 AM
 #2

What do you mean by your bitcoin server? your bitcoin qt client acting as a node? i think you need to open some ports for that to work.
IamAGentleman (OP)
Full Member
***
Offline Offline

Activity: 134
Merit: 100


View Profile
January 18, 2015, 12:48:26 AM
 #3

What do you mean by your bitcoin server? your bitcoin qt client acting as a node? i think you need to open some ports for that to work.

as a server to connect to via json rpc I'm sure I've opened ports as the pic shows
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!