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:
./bin/32/bitcoind -datadir=/somedir -daemon
This is the contents of my bitcoin.conf, which is located in /somedir (of course):
server=1 rpcuser=some_user rpcpassword=some_password rpcport=8332 rpctimeout=60
Here are the results of
netstat --ip -lpan | grep bitcoin
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:
./bin/32/bitcoind -datadir=/somedir getinfo
error: couldn't connect to server
I'm probably missing something simple and obvious, but what?