Bitcoin Forum
November 27, 2026, 03:35:59 PM *
News: Latest Bitcoin Core release: 32.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Running Bitcoin node on a non-standard port  (Read 129 times)
bitcoiner180 (OP)
Full Member
***
Offline

Activity: 220
Merit: 207


View Profile
January 28, 2025, 10:08:12 AM
 #1

I want to run a Bitcoin full node and I want to partecipate to the network sharing to the others the blocks and transactions. I don't wanto to only download informations from others.

To do so I need my node to be reachable by others, however my connection is under NAT and I can't do port forwarding. I can use a VPN but it would only allow me to open non-standard ports. With other P2P systems this is not a problem, I can configure a non-standard port and be easily reachable by all nodes.

If I configure a Bitcoin node that runs on a non-standard port will the other nodes be able to reach me?

Reading here it seems so but I would like confirmation from the experts.
https://bitcoincore.reviews/23542
LoyceV
Legendary
*
Offline

Activity: 4242
Merit: 23251


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
January 28, 2025, 11:18:50 AM
Merited by bitcoiner180 (2)
 #2

If I configure a Bitcoin node that runs on a non-standard port will the other nodes be able to reach me?
As far as I know, this should work. Bitcoin Core doesn't just scan random IP-addresses with the default port, so I assume it gets your node information from other nodes you're connected to. It wouldn't make sense to not include your port with that.

Quote
I can use a VPN but it would only allow me to open non-standard ports.
As an alternative, you can run your own VPN on a VPS. That gives you your own IP address and all the ports you want.

¡uʍop ǝpᴉsdn pɐǝɥ ɹnoʎ ɥʇᴉʍ ʎuunɟ ʞool no⅄
[MUSIC] The Ballad of LoyceV
pooya87
Legendary
*
Offline

Activity: 4298
Merit: 12814



View Profile
January 29, 2025, 04:05:26 AM
Merited by LoyceV (4), hosemary (4), ABCbits (1), Coin-1 (1)
 #3

On Bitcoin's P2P network only when you dig the DNS seeds during the first time you connect to the network, you get IP addresses alone and connect to them using the default port, since that's the port they all use. But after the initial connection, each peer would advertise itself using the addr message which will contain both their IP address and the port they are listening to and that's what others would use to connect to them.

So if you use a different port than the default and you have an open socket listening for incoming connections, your node will advertise itself using that exact port.

▄▄████████████████████▄▄
▄███████▀▀██████▀▀███████▄
█████▀██████████████▀█████
████████▄▄██████▄▄████▀███

██████████████████████████
██▄▄██████████████▄▄██████
██▀▀██████████████████▄▄██
██████▀▀██████████████▀▀██
██████████████████████████
███▄████▀▀██████▀▀████████
█████▄██████████████▄█████
▀███████▄▄██████▄▄███████▀
▀▀████████████████████▀▀
 
 DΞX.fo 
▄▄██████
█████████
██████████
██████████
██████████
█████████
▀▀██████

▄███████
▄██████████
████████████
█████████████
█████████████
|
▄▄█
▄████▀
▄███▀█▄
▄██▀█▄██
█████▀▀█
████████
████████
▀██▄████
▄████▄▄█
▄█████▀███
▄█████▀████▀
█████▀███████
▀██▀█████████
|..BTC......XMR...
..USDT.....LTC...
....Fees  0.8%.....
ABCbits
Legendary
*
Offline

Activity: 3808
Merit: 10529



View Profile
January 30, 2025, 08:47:31 AM
 #4

I want to run a Bitcoin full node and I want to partecipate to the network sharing to the others the blocks and transactions. I don't wanto to only download informations from others.

For additional information, your node still share (as in upload) block and TX data even if your node unable to accept incoming connection. Although in such case, usually you'd share/upload less data.

I can use a VPN but it would only allow me to open non-standard ports.

That's unusual, people and software usually consider port 1023 and lower as standard or well-known ports.

odolvlobo
Legendary
*
Offline

Activity: 5152
Merit: 3849



View Profile
January 30, 2025, 07:30:04 PM
 #5

If I configure a Bitcoin node that runs on a non-standard port will the other nodes be able to reach me?

There is nothing special about the default port except that it is the default. In order for other nodes to find your node, your node connects to other nodes and broadcasts its address and port.

I run several nodes on the same local network for development purposes, so I am forced to use non-default ports and external nodes are able to connect to them.

Join an anti-signature campaign: Click ignore on the members of signature campaigns.
PGP Fingerprint: 6B6BC26599EC24EF7E29A405EAF050539D0B2925 Signing address: 13GAVJo8YaAuenj6keiEykwxWUZ7jMoSLt
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!