Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: jasinlee on December 14, 2012, 04:59:09 AM



Title: Bitcoind Virtualbox Ubuntu Port Not Opening/Staying Open
Post by: jasinlee on December 14, 2012, 04:59:09 AM
I am running windows 7 and each time I close bitcoin-qt port 8333 closes automatically, from what I can figure out this has something to do with windows firewall. (guessing) any suggestions on how to force the ports open (the router is already set to static nat/dmz and ports are forwarded for 8332) I kept trying to open 8332 but it would not stay open. I even purchased portforward.com's program pfconfig which did not work either for what I need. I am starting to think this is something with windows 7 causing the issue though, any suggestions?


Title: Re: Bitcoind Virtualbox Ubuntu Port Not Opening/Staying Open
Post by: Stephen Gornick on December 14, 2012, 08:27:53 AM
each time I close bitcoin-qt port 8333 closes automatically

Well of course, when closing the program any connections it had, either incoming or outgoing will close as well. 

Are you saying you then re-launch bitcoin-qt but can no longer connect to it via 8333?


Title: Re: Bitcoind Virtualbox Ubuntu Port Not Opening/Staying Open
Post by: jasinlee on December 14, 2012, 08:29:32 AM
each time I close bitcoin-qt port 8333 closes automatically

Well of course, when closing the program any connections it had, either incoming or outgoing will close as well. 

Are you saying you then re-launch bitcoin-qt but can no longer connect to it via 8333?

More like I am trying to figure out a way to keep the port open so I can run bitcoind on a virtualbox through the open port. Since for the life of me I cannot get 8332 to open.


Title: Re: Bitcoind Virtualbox Ubuntu Port Not Opening/Staying Open
Post by: Justin00 on December 14, 2012, 10:57:29 AM
are you running the vbox pc in bridged mode for the network setup ? if so, the windows firewall will not affect vbox.


Title: Re: Bitcoind Virtualbox Ubuntu Port Not Opening/Staying Open
Post by: jasinlee on December 14, 2012, 01:54:08 PM
are you running the vbox pc in bridged mode for the network setup ? if so, the windows firewall will not affect vbox.


Yeah running in bridged mode. But I cant seem to have it open a port for the vbox/ubuntu/bitcoind.


Title: Re: Bitcoind Virtualbox Ubuntu Port Not Opening/Staying Open
Post by: Justin00 on December 14, 2012, 02:35:39 PM
from the windows host can u telnet to ubuntu on port 8333 ?
and from ubuntu can you telnet localhost 8333 ?


Title: Re: Bitcoind Virtualbox Ubuntu Port Not Opening/Staying Open
Post by: jasinlee on December 14, 2012, 02:54:14 PM
from the windows host can u telnet to ubuntu on port 8333 ?
and from ubuntu can you telnet localhost 8333 ?

When I telnet in cmd I get Could not open connection to the host on port 8333 connection failed. From ubuntu I get connection refused.


Title: Re: Bitcoind Virtualbox Ubuntu Port Not Opening/Staying Open
Post by: Justin00 on December 14, 2012, 11:44:07 PM
in ubuntu try netstat -an | grep 8333

You should see something like this.

  TCP    0.0.0.0:8333           0.0.0.0:0              LISTENING


if nothing comes up the app isn't listening on that port for one reason or another.. if it does come up something on ubuntu is blocking access, either the app or maybe linux firewall.


Title: Re: Bitcoind Virtualbox Ubuntu Port Not Opening/Staying Open
Post by: gmaxwell on December 16, 2012, 04:56:54 AM
I am running windows 7 and each time I close bitcoin-qt port 8333 closes automatically
Turn off UPNP in the copy of bitcoin you are running in windows.