LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-27-2014, 07:10 AM   #1
Gerard12
LQ Newbie
 
Registered: Oct 2014
Posts: 4

Rep: Reputation: Disabled
Debian 7 Bitcoin Daemon, RPC does not connect


Hello

== GOAL ==

Having a Bitcoin wallet on a server hosting which runs debian 7 which i can remote control by using PHP files to do JSON requests over the RPC protocol. For example the Get_balance command.

== WHAT DO I HAVE SO FAR ==

I have setup the Daemon, working fine
I have the config file for the Daemon, rpcip and rpcport, daemon1 and server1
I have a working PHP file for the client to request from the server

== THE PROBLEM ==

It refuses to complete the request. If the PHP is being loaded in a browser it will finally time out. It doenst seem to connect. It does work if i install the daemon on my home computer with virtual machine running debian 7.

== POSSIBLE CAUSE ==

One of the reasons could be the ports. I have no idea how to open the ports on debian 7. I could use a little help there. I do not know any other causes then the port. Could anyone help me make the JSON connection?

A video which could make things clear: https://www.youtube.com/watch?v=oAWJ_qCdLwM

Last edited by Gerard12; 10-29-2014 at 10:55 AM.
 
Old 10-29-2014, 03:03 AM   #2
yzT!
Member
 
Registered: Jan 2013
Distribution: Debian
Posts: 168

Rep: Reputation: 2
do you use iptables?
Code:
iptables -L
 
Old 10-29-2014, 03:58 AM   #3
Gerard12
LQ Newbie
 
Registered: Oct 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Yes, i use UFW to allow all incomming traffic
 
Old 10-30-2014, 02:37 AM   #4
yzT!
Member
 
Registered: Jan 2013
Distribution: Debian
Posts: 168

Rep: Reputation: 2
and what about outgoing traffic?
 
Old 10-30-2014, 12:45 PM   #5
Gerard12
LQ Newbie
 
Registered: Oct 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
same, all allowed, i can see with rpcinfo -p that my daemon is NOT on the list, could there be my problem?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up Litecoin daemon on debian 7, RPC does not connect Gerard12 Linux - Server 0 10-28-2014 02:45 PM
[SOLVED] Transmission-daemon doesn't listen on RPC port esso82 Linux - Newbie 1 08-23-2014 03:13 PM
LXer: BitKey: A secure, Debian-based Live OS for bitcoin transactions LXer Syndicated Linux News 0 07-23-2014 06:50 PM
Programming Background RPC Daemon Batch Decompression Manager andwan0 Programming 0 01-08-2013 01:44 PM
NFS RPC: Port mapper failure - RPC: Unable to receive KEJP Linux - Networking 6 12-18-2006 02:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration