Author

Topic: Bitcoind Debian RPC can't listen (Read 1619 times)

member
Activity: 72
Merit: 10
April 16, 2013, 06:07:28 AM
#3
still same problem :/
newbie
Activity: 39
Merit: 0
March 27, 2013, 06:26:48 PM
#2
What happen if you set rpcport to something different, e.g. 18332 ?
member
Activity: 72
Merit: 10
March 27, 2013, 08:16:00 AM
#1
I have strange problem on my small debian distribution.
nothing listen on 8332 port, I can set up netcat to listen on 8332 and everything works
When I set rpcallowip=127.0.0.1 only listing on ipv6 ( :::8332) but no on 0.0.0.0:8332
I try to use binary from bitcoin.org and compile from git source.
I run bitcoind from user root.
What I doing wrong ?

My debug log:
Code:
Bitcoin version v0.8.0-57-gdfd71bb-beta (2013-03-22 09:10:17 -0700)
Using OpenSSL version OpenSSL 0.9.8o 01 Jun 2010
Startup time: 2013-03-27 13:15:21
Default data directory /root/.bitcoin
Used data directory /media/bitcoin_data
Using 2 threads for script verification
init message: Verifying wallet...
dbenv.open LogDir=/media/bitcoin_data/database ErrorFile=/media/bitcoin_data/db.log
Bound to [::]:8333
Bound to 0.0.0.0:8333
init message: Loading block index...
Opening LevelDB in /media/bitcoin_data/blocks/index
Opened LevelDB successfully
Opening LevelDB in /media/bitcoin_data/chainstate
Opened LevelDB successfully
LoadBlockIndexDB(): last block file = 50
LoadBlockIndexDB(): last block file info: CBlockFileInfo(blocks=107, size=19536725, heights=228135...228240, time=2013-03-26...2013-03-27)
LoadBlockIndexDB(): transaction index disabled
LoadBlockIndexDB(): hashBestChain=00000000000001c88e964b2022402e150c5d68bf6158929e1cc679f7b6049b76  height=228240 date=2013-03-27 11:26:13
init message: Verifying blocks...
Verifying last 100 blocks at level 3
No coin database inconsistencies in last 101 blocks (39796 transactions)
 block index           18837ms
init message: Loading wallet...
nFileVersion = 80100
 wallet                 2661ms
init message: Loading addresses...
Loaded 70 addresses from peers.dat  1ms
mapBlockIndex.size() = 228242
nBestHeight = 228240
setKeyPool.size() = 100
mapWallet.size() = 0
mapAddressBook.size() = 1
init message: Done loading
ThreadRPCServer started
Error: An error occurred while setting up the RPC port 8332 for listening on IPv4: Cannot assign requested address
ThreadRPCServer exited
Flush(false)
wallet.dat refcount=0
wallet.dat checkpoint
send version message: version 70001, blocks=228240, us=0.0.0.0:0, them=0.0.0.0:0, peer=127.0.0.1:0
ThreadOpenConnections started
ThreadDumpAddress started
ThreadDumpAddress exited
ThreadSocketHandler started
ThreadDNSAddressSeed started
Loading addresses from DNS seeds (could take a while)
ThreadMessageHandler started
ThreadMessageHandler exited
ThreadOpenAddedConnections started
ThreadOpenAddedConnections exited
ThreadIRCSeed started
ThreadIRCSeed exited
wallet.dat detach
wallet.dat closed
DBFlush(false) ended              18ms
StopNode()
ThreadSocketHandler exited
Added 28 addresses from 178.18.90.41: 0 tried, 98 new
GetMyExternalIP() received [93.180.161.98] 93.180.161.98:0
GetMyExternalIP() returned 93.180.161.98
AddLocal(93.180.161.98:8333,5)
ThreadOpenConnections exited
70 addresses found from DNS seeds
ThreadDNSAddressSeed exited
Flushed 98 addresses to peers.dat  23ms
Committing 31170 changed transactions to coin database...
Flush(true)
DBFlush(true) ended               0ms
Bitcoin exited


my config:
Code:
datadir=/media/bitcoin_data
min=1
splash=0
rpcuser=xxxxx
rpcpassword=xxxxxx
server=1
listen=1
checkblocks=100
port=8333
rpcport=8332
Jump to: