Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: Vene on April 26, 2015, 06:39:14 AM



Title: Full node?
Post by: Vene on April 26, 2015, 06:39:14 AM
Hi, since I have one computer that I use a server (always on) I would like to support the network with full node. Which I am doing already.
But I have one problem, every couple of days my IP address changes and of course when that happens BT core blocks incoming connections and lets just 8 outgoing connections. When I shut down and open BT core everything again runs fine (until the next IP change).
How to avoid that? Can i somehow tell BT core to use my dyndns address that is forwarded to port 8333 of my server?
Thx


Title: Re: Full node?
Post by: Amph on April 26, 2015, 07:53:26 AM
you can run core on a vm and set static ip address there, just a simply solution


Title: Re: Full node?
Post by: johoe on April 26, 2015, 10:55:21 AM
you can run core on a vm and set static ip address there, just a simply solution

Well unless he has an externally visible static IP address (and then you don't need the vm) it doesn't help OP's problem.

Can i somehow tell BT core to use my dyndns address that is forwarded to port 8333 of my server?

No, the bitcoin protocol only exchanges IP addresses not DNS names: https://en.bitcoin.it/wiki/Protocol_specification#Network_address

Maybe you can write a script that is called when your external address changed and restarts bitcoind.

It's time that IPv6 gets used and we can all have our own static IP address.


Title: Re: Full node?
Post by: Amph on April 26, 2015, 11:10:35 AM
you can run core on a vm and set static ip address there, just a simply solution

Well unless he has an externally visible static IP address (and then you don't need the vm) it doesn't help OP's problem.

Can i somehow tell BT core to use my dyndns address that is forwarded to port 8333 of my server?

No, the bitcoin protocol only exchanges IP addresses not DNS names: https://en.bitcoin.it/wiki/Protocol_specification#Network_address

Maybe you can write a script that is called when your external address changed and restarts bitcoind.

It's time that IPv6 gets used and we can all have our own static IP address.

he can set a vpn and get a static address from a provider(actually you don't need to pay, a free vpn can provide to you a shared ip , that become basically static if you don't close your vm or your vpn program) while maintaining his actual ip, so i think a vm could come in handy