NamecoinToBind fails to connect to namecoind

Post Reply
renne
Posts: 80
Joined: Fri May 30, 2014 7:09 pm
os: linux

NamecoinToBind fails to connect to namecoind

Post by renne »

Hi,

i've installed NamecoinToBind from Khalahan. When I try to run it crashes after a few minutes:

Code: Select all

namecoin@vps75567:~$ /usr/bin/php /home/namecoin/NamecoinToBind/namescan.php
New blocks : 185112
PHP Warning:  fopen(http://...@127.0.0.1:8336/): failed to open stream: HTTP request failed!  in /home/namecoin/NamecoinToBind/jsonRPCClient.php on line 132
PHP Fatal error:  Uncaught exception 'Exception' with message 'Unable to connect to http://namecoin:<censored>@127.0.0.1:8336/' in /home/namecoin/NamecoinToBind/jsonRPCClient.php:140
Stack trace:
#0 /home/namecoin/NamecoinToBind/namescan.php(38): jsonRPCClient->__call('name_filter', Array)
#1 /home/namecoin/NamecoinToBind/namescan.php(38): jsonRPCClient->name_filter('^d/[a-z0-9_-]+$', 185112)
#2 {main}
  thrown in /home/namecoin/NamecoinToBind/jsonRPCClient.php on line 140
namecoin@vps75567:~$
Thanx for any hint how to get it working,

Renne

tosh0
Posts: 43
Joined: Sat Mar 22, 2014 6:48 pm

Re: NamecoinToBind fails to connect to namecoind

Post by tosh0 »

8336, that's the nmc rpc wallet port, that i assume it's on the same machine up and running.
make sure first that you set rpcpassword=<password> in the configuration file:
C:/Users/***edit***/AppData/Roaming/Namecoin/bitcoin.conf
not idea about the filename/path for linux thought.
NMC: more stable than BTC!

Post Reply