Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [connection]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
44 views

I can't get Inbound Connections on my node

So, I've been trying to get Inbound Connections on my node, to no success. I've got an UmbrelOS 1.1 installed on a RPi5. It's Bitcoin Node app is already set to allow Incoming Connections. I also went ...
CMD's user avatar
  • 31
4 votes
1 answer
258 views

What's a rule of thumb for setting the maximum number of connections?

Connectivity of full nodes varies a lot, ranging from phones with mobile service to servers in data centers. Also, many nodes probably have asymmetric bandwidth. Assuming the goal of maximizing ...
real-or-random's user avatar
1 vote
1 answer
254 views

I Can't Get Inbound Connections to My Node

I recently set up a Bitcoin Core Node on a Raspberry Pi. It is fully caught up to the chain tip and has 10 outbound connections. I am using bitcoind to configure the node and have not been able to get ...
jctbtc's user avatar
  • 141
1 vote
1 answer
75 views

Why do nodes have a maximum peer count?

Why do nodes have a maximum peer count, in other words what could go wrong if each node is connected to all the nodes of the network?
Noah Bergh's user avatar
0 votes
0 answers
38 views

When does a Bitcoin Core node first start getting inbound peers?

It is my understanding that a fresh node will only make outbound connections during IBD and not advertise its own IP address, yet. Since other nodes will only advertise IP addresses that they learn ...
Murch's user avatar
  • 75.7k
3 votes
1 answer
143 views

bitcoin-cli -netinfo not showing incoming ipv4 peers

I was trying to get my bitcoin node to be able to receive ipv4 peers for couple of days, but could not see any incoming peers even tho my port 8333 was open and reachable and to my best knowledge ...
Wiredancer's user avatar
2 votes
1 answer
80 views

How do I troubleshoot port accessibility to allow inbound connections on MacOS?

I'm wondering if anyone has experienced anything like this. IPv4 ports seem blocked. I have tried everything to open a port on my Mac but the port seems blocked. It's like the only port that can be ...
Kaizen's user avatar
  • 331
1 vote
1 answer
135 views

Low number from getconnectioncount

I have been running my bitcoin node for about 24 hours now and I'm hovering at 54 active connections. However, I thought that I would be at 125. Why is it that I'm not exceeding this number? ...
bitcoinluvr6969's user avatar
1 vote
1 answer
591 views

Incoming and Outgoing Node Connections

Should I be concerned that I only see "Out" connections, and not "In" connections? What does this mean? Is everything fine, or is there something I'm doing wrong?
bluefuze's user avatar
2 votes
1 answer
567 views

Mempool docker unable to connect to electrum server

I'm having a problem with "connecting" my mempool.space to electrumX server. My bitcoin core is working fine, electrumX server is fine as well and up to chaintip. I've installed docker and ...
son_of_satoshi's user avatar
2 votes
1 answer
2k views

Really strange issue when trying to connect Sparrow Wallet to Bitcoin Core

I am really loosing my mind on this. I am actually not a technical noob but also not the very best technican. But things like this should actually be very easy for me. What I want to do: I just want ...
Exchange_REC's user avatar
0 votes
1 answer
390 views

How to force node to use tor connections, onlynet=onion already

I've followed all these steps How can I setup Bitcoin to be anonymous with Tor? I've added onlynet line in my conf file, but all my peers come with ipv4 connection. When I run getnetworkinfo I get ...
son_of_satoshi's user avatar
2 votes
1 answer
157 views

Connection to my full node via Python script suddenly fails

I run a mynode full node on a raspi for quite some time now and was playing around with Python scripts to connect and send txs. This worked fine until lately. Turns out the connection establish ...
Matthias Russ's user avatar
2 votes
1 answer
86 views

How can I establish a connection with an IPv4 peer when my node has only IPv6?

I have a channel with someone who only has IPv4. I only have IPv6. How can I redirect the port in my LND to accept IPv4?
user209474's user avatar
0 votes
0 answers
266 views

Connection error

i have installed bitcoin node, it was syncing before i went to sleep, i want to know the percentage of the synced, anytime i query on the bitcoin-cli getblockcount ,i get this error " error: ...
OluGuru's user avatar
1 vote
0 answers
55 views

Why variations in tor onion service incoming node identifcation formats?

With these bitcoin.conf parameters: proxy=127.0.0.1:9050 listen=1 onlynet=onion bind=127.0.0.1 externalip=[my 64-char code].onion [plus 32 addnode=[onion address] entries] I quickly get 18 outgoing ...
brec's user avatar
  • 347
-1 votes
1 answer
299 views

Running bitcoind regtest with docker containers

I am running bitcoind regtest locally with the method from this article https://medium.com/ssde/how-to-use-docker-to-setup-multiple-bitcoin-test-nodes-on-your-own-mac-phase-i-8c6e5442c189. However, ...
Julian Ke's user avatar
1 vote
1 answer
543 views

Only 10 connections on my raspberry pi full node

I'd like to know why I only get 10 connections on my full node? Is there something missing in the conf file? $bitcoin-cli -netinfo Bitcoin Core v0.21.0.0-7d8a10a6f - 70016/Satoshi:0.21.0/ ipv4 ipv6 ...
taway's user avatar
  • 21
10 votes
1 answer
580 views

With peerblockfilters=1 hundreds of "btcwire 0.5.0/neutrino" connections are downloading TB from my Bitcoin node

I run Bitcoin Core 0.21.0 from a data center, unmetered, with compact block filters enabled (blockfilterindex=1 peerblockfilters=1). Soon after the restart, I get a huge number (140-200) of ...
qertoip's user avatar
  • 251
0 votes
1 answer
277 views

Where can I find RPC_User and RPC_Password for my Python Script?

I'm still struggling with this to obtain "rpc_user" and "rpc_password" this is the Python Script I did try others to fill in others network like Blockdaemon.com but it does not ...
Jsim's user avatar
  • 43
2 votes
1 answer
272 views

SPV client TCP connection in python

I am trying to implement an SPV client in python (for my own learning). I want to start by making a simple TCP connection to a full node, but I either cannot get a response to my version message, or ...
anne1234's user avatar
8 votes
2 answers
3k views

What exactly does the scary option "Allow incoming connections" do in Bitcoin Core?

Software authors seem to enjoy consciously freaking me out by having vaguely or entirely uncommented options in their software with very ominous labels. In Bitcoin Core's settings, it says "[X] ...
Dujon W.'s user avatar
0 votes
1 answer
334 views

Bitcoin V0.1 Not Connected

My Bitcoin V 0.1 says, "not connected" when I try to generate coins. I have ensured the port is connected through the firewall. Also, I have read that V 0.1.3 corrected this problem. However,...
ImLostPleaseHelpThx's user avatar
0 votes
0 answers
531 views

Problem connecting on Slush's pool with GUIMiner, i tried many Host adress to connect, every time it says the target computer expressly reject it

I'm on Windows 10 with GUIminer, i want to mine on the slush's pool but every time i enter every host adress i saw it didn't work on slush pool. I entered the right login for my miner and on ...
Kuno's user avatar
  • 1
2 votes
1 answer
303 views

How to achieve fast mempool synchronization at startup?

I just started my 'occasional' full-node and I am watching the size of the mempool grow after full block synchronization - watch -n 3 'bitcoin-cli getrawmempool true |jq "length"' - it has around 4000 ...
Pedro's user avatar
  • 753
0 votes
1 answer
873 views

Bitcoin Core JSONRPC only accept requests with 0.0.0.0 in configs

I've lunched a Bitcoin Core server, and trying to connect to it via JSON-RPC. This is my configuration settings: server=1 rpcuser=admin rpcpassword=password rpcport=1234 rpcallowip=94.183.32.151 ...
Mohammad Saberi's user avatar
1 vote
1 answer
381 views

difference between inbound and outbound connection

I'm running a bitcoin full node (bitcoin core) via Tor. I noticed I have only outbound connections (using maxconnections=16 in the conf file), but not even an inbound one. So which is exactly the ...
dcfg's user avatar
  • 404
3 votes
1 answer
682 views

How does the Bitcoin p2p network work? Does it need port forwarding?

But does every peer node in the bitcoin p2p network need to have ports forwarded in order to participate? Otherwise, how does the p2p network work in the Bitcoin network? I heard that there are some ...
DanielSeow's user avatar
0 votes
1 answer
300 views

Can I connect to a node as read-only?

In my Electrum wallet I can open the Network Window and view Nodes I'm connected to. Here's an example: electrum4101870.fullhealth.net. I can also find public nodes at https://bitnodes.earn.com/nodes/...
Luka's user avatar
  • 117
2 votes
2 answers
817 views

Are nodes that don't accept inbound connections necessarily leechers?

Gavin Andresen and James Lopp seem to think that nodes that don't accept inbound connections could be called "leechers" in the same way a torrent leecher takes but doesn't give (or at least they did 5 ...
B T's user avatar
  • 1,638
1 vote
2 answers
178 views

Can a Bitcoin node create an outgoing connection to a inbound node?

I'm trying to figure out if we can create an outgoing connection to a inbound node (a node which we are already connected to, but the remote peer has initiated the connection). I know that this does ...
Jan Telov's user avatar
0 votes
0 answers
825 views

Connection Refused when running bitcoind in a non-root user and trying to make RPC calls

I'm new to Bitcoin development and I'm currently having difficulties trying to make RPC calls to a Bitcoin-Core daemon running in a SSH server. I suppose that the problem is with Firewall or closed ...
Victor Pietro Moreno's user avatar
1 vote
0 answers
185 views

Bitcoin Core client on multiple computers

I have one computer with a full node bitcoin core. I would like to have bitcoin-qt installed on a different computer but I don't want to download the full blockchain again in the other computer. I ...
edpr's user avatar
  • 11
1 vote
0 answers
310 views

Why does my public IP show a Bitcoin Node is running when it is set up over Tor?

I've set up my node to run exclusively over TOR. But when I check https://bitnodes.earn.com/ and a few other sites with my public IP to check if a bitcoin node is accepting incoming connections, it ...
KiSBitcoin's user avatar
1 vote
2 answers
149 views

Which peers does a node broadcast a new block to?

In the Bitcoin network, when a miner discovers a new block, he needs to broadcast it to other nodes. Does the node only broadcast to outbound connections or does it broadcast to inbound connections as ...
and zhao's user avatar
0 votes
1 answer
78 views

Is a peer connection maintained for the life of the node, or is it recreated on every request?

Lets assume we have 2 bitcoin nodes, A and B. A is already up, and B is now coming up. B lists A as a peer node and attempts to establish a connection. A accepts, a handshake is completed and they ...
David says Reinstate Monica's user avatar
1 vote
1 answer
1k views

Error connecting to json rpc server

For testing purposes, I need to connect from a web page in my shared hosting account (on the public internet) to my json rpc server which is running on my laptop . So bitcoind is running on my laptop, ...
toddmo's user avatar
  • 774
1 vote
1 answer
112 views

Does Bitcoin limit the number of parallel connections from the same IP?

Is there a measure in place to prevent an adversary from connecting to a Bitcoin node many times in parallel, thus saturating its open connection slots?
Sergei Tikhomirov's user avatar
0 votes
1 answer
67 views

How does blockchain ensure that a closed loop in network is not formed?

Suppose there are 9 nodes and each node can connect to 8 other nodes. All these 9 nodes connect to the 8 others. Then when a new node comes where does it connect to in this case? All the current nodes ...
Midhun K.G's user avatar
1 vote
0 answers
102 views

How can I use raw litecoin protocol to connect to nodes?

I am trying to connect to litecoin nodes using raw protocol. I follow Ken Shirriff instructions from this article . My code works perfect with bitcoin, so I just replaced bitcoin nodes connection ...
30mb1's user avatar
  • 113
0 votes
1 answer
4k views

Port 8333 and Issues to have a connection

So, I have a website, and that website is going to use Bitcoins. Right now, I'm trying to connect the bitcoin core with the website. But I have a lot of issues with port 8333: This is my error: http:...
Juan's user avatar
  • 96
4 votes
1 answer
359 views

Sybil attack countermeasure

In Bitcoin Wiki Weaknesses: Sybil attack they mention that: "Bitcoin makes these attacks more difficult by only making an outbound connection to one IP address per /16 (x.y.0.0)". Why would this ...
user1's user avatar
  • 41
1 vote
0 answers
112 views

Bitcoin core closes inbound connections every 10 minutes

I noticed that Bitcoin core will close incoming connections every 10 minutes. Wireshark captures [FIN, ACK] are received from the node. It looks like Bitcoin core is monitoring the connection time. ...
JPX's user avatar
  • 123
2 votes
0 answers
202 views

Clarification of some getaddr() function inputs and outputs

In the Bitcoin system to discover new nodes, each node communicates with its peers by sending getaddr() to the peers. Based on the bitcoin implementation: //! the maximum percentage of nodes to ...
user1111's user avatar
1 vote
1 answer
68 views

Why connected node count have dropped since august 1st?

before 1st august i used to connect to 55+ nodes on my bitcoin-core, even if i kept the bitcoin-core running for 12 hours. but after 1st of august, the connected nodes count is not going above 15-23 ...
user avatar
0 votes
1 answer
114 views

Does bitcoin-core software/client connects with only same version number nodes?

i am trying to connect to maximum number of nodes. i noticed there are many receive version message in debug.log file so i have question, does the bitcoin-core connects to only those having either ...
user avatar
0 votes
1 answer
805 views

Warning: Reducing -maxconnections from 1000 to 865, because of system limitations

I want to be the fastest/first one at recognizing/receiving new transactions, so i set i set these in bitcoin.conf and running a bitcoin full node on dedicated centos server. maxconnections=1000 ...
user avatar
2 votes
1 answer
296 views

How does the network handle changing IPs?

From what I understand, when a node first comes online, it requests a list of known IPs from all of it's peers. I'm assuming that by doing that, it shares its own ip to all of the peers, which in turn ...
jeanluc's user avatar
  • 123
0 votes
1 answer
744 views

Redirection to pool

dear friends. Due that my ISP blocks connection to pools i need to make a redirection via VPS that i has to a mining pool. I am very bad at networking and hardly can imagine how can i accomplish this. ...
GavGav's user avatar
  • 11
0 votes
1 answer
460 views

Are incoming connections required for mining?

I am setting up a RPi3 Mining node for fun. I know that it will have less than 8 connections that are outgoing. I know that if I was able to configure my network and router to allow incoming ...
user856232's user avatar