Bitcoin Forum
August 29, 2025, 05:10:14 AM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Incoming connection to my bitcoin node  (Read 144 times)
bitbolt0 (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
March 14, 2025, 08:42:51 AM
 #1

Hello,

I just setup a bitcoin node and I see some incoming connection with connection type "npr" and address like "127.0.0.1:33686".

What means "npr" and why the address looks like a local one?

Thanks and sorry for the naive question.
ABCbits
Legendary
*
Offline Offline

Activity: 3346
Merit: 9071



View Profile
March 14, 2025, 09:09:38 AM
 #2

I just setup a bitcoin node and I see some incoming connection with connection type "npr" and address like "127.0.0.1:33686".

Just in case, do you know of any software that may try connect to local Bitcoin full node automatically? Some wallet (such as Ginger and Wasabi wallet) may do that automatically.

What means "npr" and why the address looks like a local one?

1. In this case, "npr" stands for "not publicly routable"
2. 127.0.0.1 is local address, where it's also called localhost or loopback address. It's used to perform communication between software on your device.

bitbolt0 (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
March 14, 2025, 11:04:09 AM
 #3

Thanks for your answer.

-> Just in case, do you know of any software that may try connect to local Bitcoin full node automatically? Some wallet (such as Ginger and Wasabi wallet) may do that automatically.

Actually I don't. I haven't connected a wallet yet. One of the incoming connection shows up as "70016/dsn.kastel.kit.edu/bitcoin:28.0.0/" which seems to be some school...

-> 1. In this case, "npr" stands for "not publicly routable"

Could that be a connection under i2p network by any chance?

-> 2. 127.0.0.1 is local address, where it's also called localhost or loopback address. It's used to perform communication between software on your device.

Ok got it!

Is that something I should worry about? As anyone I guess, I am concerned with privacy and security (not maniac but not laxist either).

Thanks a lot!
ABCbits
Legendary
*
Offline Offline

Activity: 3346
Merit: 9071



View Profile
March 15, 2025, 07:22:37 AM
Merited by She shining (1)
 #4

-> Just in case, do you know of any software that may try connect to local Bitcoin full node automatically? Some wallet (such as Ginger and Wasabi wallet) may do that automatically.

Actually I don't. I haven't connected a wallet yet. One of the incoming connection shows up as "70016/dsn.kastel.kit.edu/bitcoin:28.0.0/" which seems to be some school...

By default, Bitcoin Core accept incoming connection. I remember that website/university do some research and share data about Bitcoin, so i doubt it's malicious node. Although i believe that kind of connection should be categorized as either "ipv4" or "ipv6".

-> 1. In this case, "npr" stands for "not publicly routable"

Could that be a connection under i2p network by any chance?

Most likely no.
1. AFAIK all I2P connection would show address with ".i2p" at the end.
2. I2P should be showed under "i2p" rather than "npr".

Is that something I should worry about? As anyone I guess, I am concerned with privacy and security (not maniac but not laxist either).

IMO, no.

bitbolt0 (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
March 16, 2025, 09:00:47 AM
 #5

Thanks again for giving your view on this.

Would you know where I could start to dig into this deeper?

Much appreciated
ABCbits
Legendary
*
Offline Offline

Activity: 3346
Merit: 9071



View Profile
March 16, 2025, 10:44:03 AM
 #6

Thanks again for giving your view on this.

Would you know where I could start to dig into this deeper?

Much appreciated

If you want to dig into Bitcoin Core details, you may want to visit https://bitcoin.stackexchange.com. But if you mean dig into Bitcoin technical detail, i would recommend  https://learnmeabitcoin.com/ and https://github.com/bitcoinbook/bitcoinbook/.

She shining
Member
**
Offline Offline

Activity: 163
Merit: 36

My oH My


View Profile
March 16, 2025, 11:02:20 AM
 #7

What means "npr" and why the address looks like a local one?

Non peer relay, meaning the connection isn't a standard p2p.Because connection is local and you connecting with yourself.

Quote
Actually I don't. I haven't connected a wallet yet. One of the incoming connection
Then it has to be a Bitcoin related app you installed maybe a monitoring tool or self hosted block Explorer. But the summary is there's something else the node is communicating locally with.

Thanks again for giving your view on this.

Would you know where I could start to dig into this deeper?

Much appreciated
if you mean to check the connection issue more then you can try https://bitcoincore.org/en/doc/ after selecting core version you can click on network and access getpeerinfo. This could give more info about connections.

A Looker
Cricktor
Legendary
*
Offline Offline

Activity: 1232
Merit: 2919



View Profile
March 30, 2025, 10:15:07 PM
 #8

Non peer relay, meaning the connection isn't a standard p2p.Because connection is local and you connecting with yourself.
No, I don't think this is what "npr" means.

I run my node solely over Tor. Onion is the only allowed connection type. My node has currently 10 outgoing connections to onion peers and 32 incoming connections from other nodes which are labeled npr "non publicly routable". Those incoming peer connections happily talk to my node, relay transactions and blocks and receive stuff from my node.

Code:
$ bitcoin-cli -netinfo
Bitcoin Core client v28.0.0 - server 70016/Satoshi:28.0.0/

        onion     npr   total   block
in          0      32      32
out        10       0      10       2
total      10      32      42
...

See excerpt from documentation by bitcoin-cli -netinfo help:
Code:
  net      Network the peer connected through ("ipv4", "ipv6", "onion", "i2p", "cjdns", or "npr" (not publicly routable))

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!