I just set up my bitcoin node and noticed some incoming connections labeled "npr" with addresses like "127.0.0.1:33686". What does "npr" mean? And why does the address look like it's on my local machine? Sorry if this is a dumb question.
What does 'npr' mean for my bitcoin node connections?
7 replies 189 views
Just to add, does anyone know if there's software that connects to local Bitcoin nodes automatically? I think some wallets, like Ginger or Wasabi, might do that.
1. "npr" means "not publicly routable".
2. 127.0.0.1 is indeed a local address, often referred to as localhost. It's for communication between apps on your device.
Thanks for the clarification!
By the way, any idea if there's a wallet that connects automatically to the local node? I haven't linked one yet. One of the incoming connections shows as "70016/dsn.kastel.kit.edu/bitcoin:28.0.0/", seems like some university or school.
Typically, Bitcoin Core allows incoming connections by default. I remember schools or universities doing research to share data about Bitcoin, so I doubt it’s a malicious node. But I think this should show up as either "ipv4" or "ipv6" instead.
Most likely no.
1. As far as I know (AFAIK), all I2P connections would have an address ending in ".i2p".
2. I2P should be categorized under "i2p" not "npr".
Thanks for your insights.
Where might I start digging into this more? Appreciate any tips!
If you want to get into the details of Bitcoin Core, check out some forums or resources. Here are a couple:
- https://bitcoin.stackexchange.com
- https://learnmeabitcoin.com/
- https://github.com/bitcoinbook/bitcoinbook/
Good luck!
Non-peer relay means it’s not a standard P2P connection. It’s local, so you’re essentially connecting with your own node.
Must be some app you have, maybe a monitoring tool or self-hosted explorer.
If you want to troubleshoot more, look at the Bitcoin Core documentation. Check the network section and use getpeerinfo for more details.
gwei_blockNewbie
Posts: 76 · Reputation: 37
#8Jan 19, 2020, 10:24 PM
I don't think "npr" means that.
I run my node over Tor only. My node has 10 outgoing onion connections and 32 incoming ones from other nodes labeled as "npr" as well. Those connections talk to my node and relay stuff just fine.
Check out the bitcoin-cli documentation for netinfo help it clarifies a lot.
Related topics
- New Bitcoin Client Hornet Node: What Do You Think? 3
- New Bitcoin Improvement Proposal with $100 Reward 9
- Can You Prune Bitcoin Core Data by Date Range? 4
- Best Hardware Specs for Running Bitcoin Core 7
- Thoughts on Bitcoin Core Update V30 and Its Impact 22
- New Messaging App Using Bitcoin Blockchain Thoughts? 19