Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: running on April 05, 2013, 03:33:53 PM



Title: Setting bitcoind on VPS produces error
Post by: running on April 05, 2013, 03:33:53 PM
Hello,

I am trying to run bitcoind on one VPS server and I am getting an error

Code:
~/bitcoin-0.8.1-linux/bin/64$ ./bitcoind
Error: An error occurred while setting up the RPC port 8332 for listening on IPv4: Cannot assign requested address
~/bitcoin-0.8.1-linux/bin/64$ ./bitcoind -rpcport=18332
Error: An error occurred while setting up the RPC port 18332 for listening on IPv4: Cannot assign requested address
~/bitcoin-0.8.1-linux/bin/64$ ./bitcoind -rpcport=80
Error: An error occurred while setting up the RPC port 80 for listening on IPv4: Cannot assign requested address

What am I doing wrong? Should I install something? (It is a fresh installation.)


Title: Re: Setting bitcoind on VPS produces error
Post by: running on April 05, 2013, 03:44:18 PM
I solved this immediately but I will let this here so others may know

I needed to go to the admin panel of openvz and set up "Enable iptables" and reboot the machine. Why this helped? I have no idea.