Author

Topic: error: couldn't connect to server (Read 1777 times)

newbie
Activity: 9
Merit: 0
January 03, 2014, 08:29:45 PM
#3
I don't think I understand, isn't that what is done by these lines in the bitcoin.conf?

Code:
rpcuser=some_user
rpcpassword=some_password
newbie
Activity: 28
Merit: 0
January 03, 2014, 07:55:43 PM
#2
you missed to specify your rpcuser and rpcpassword
newbie
Activity: 9
Merit: 0
January 03, 2014, 07:29:55 PM
#1
I did a web search before posting, but none of the similar topics shed any light on my problem.

This is the command I'm using to start bitcoind:
Code:
./bin/32/bitcoind -datadir=/somedir -daemon
This is the contents of my bitcoin.conf, which is located in /somedir (of course):
Code:
server=1
rpcuser=some_user
rpcpassword=some_password
rpcport=8332
rpctimeout=60
Here are the results of netstat --ip -lpan | grep bitcoin
Code:
tcp        0      0 127.0.0.1:8332          0.0.0.0:*               LISTEN      24203/bitcoind 
tcp        0      0 0.0.0.0:8333            0.0.0.0:*               LISTEN      24203/bitcoind
Then I attempt to send a commend to the bitcoind using:
Code:
./bin/32/bitcoind -datadir=/somedir getinfo
Result
Code:
error: couldn't connect to server
I'm probably missing something simple and obvious, but what?
Jump to: