Hot answers tagged

14 votes
Accepted

How do I configure Bitcoin Core to connect always to a particular node?

Your private node would still be a fully validating node (i.e. full node). That's a good thing. As for having the private node connect to your public node, you have two choices: -addnode=<ip> ...
user avatar
  • 6,208
7 votes
Accepted

What does Bitcoin Core use port 8334 for?

It is used for incoming Tor connections. See here and here for more info. You can use -bind=127.0.0.1:XXXX=onion to use port XXXX instead.
user avatar
  • 11.4k
6 votes

Allowing Incoming Connection on Bitcoin Core

I had the same problem. The port was open, but the test at bitnodes.21.co would fail. However after my Bitcoin client downloaded the entire BlockChain everything worked. I used about 144 hours to ...
user avatar
6 votes
Accepted

How do I still have connections without forwarding port 8333?

When your node is not accepting inbound connections (either because there's NAT in the way or because you passed -listen=0 to Bitcoin) it still makes "outbound connections." These are connections to ...
user avatar
  • 28.7k
6 votes
Accepted

What is the benefit of opening port 8333 to a client?

If you don't want to, you don't have to open ports at all. You'll still have a full node, it will just have fewer connections. Full nodes usually make 8 outgoing connections and can have many more ...
user avatar
  • 6,208
6 votes
Accepted

Has anyone ported the Bitcoin software to "pure" Clojure?

There are several Bitcoin Clojure projects, but none of them appear to have a full rewrite of Bitcoin as a goal. Of particular interest is https://github.com/johnwalker/bitcoin-protocol , which is an ...
user avatar
3 votes

Port Forwarding for Bitcoin Core in order to allow incoming connections?

External host is the IP of the host connecting to you. If you want to allow anyone to connect, you can just put 0.0.0.0.
user avatar
3 votes
Accepted

How to change RPC port for bitcoind? (rpcport=xxx in bitcoin.conf doesn't work)

Found the solution: rpcport needs to be in the [test] section Please update your original config file to read: testnet=1 server=1 daemon=1 txindex=1 rpcuser=XXXXXXXXXXXXXXXXXXXXXXX rpcpassword=...
user avatar
3 votes

How to set up a private bitcoin network with mining on a single machine?

I've had to do this, so I'll try to describe exactly what you need to do to get mining on testnet to work in a local setup. For our purposes, we'll have 2 instances of bitcoind running, the first set ...
user avatar
  • 7,639
3 votes
Accepted

How to trigger port for Bitcoin client (e.g. 8333)

Bitcoin Core doesn't seem to have an option to specify the source port for outgoing connections, so you probably can't assume anything about the source port. However, if possible, you could configure ...
user avatar
2 votes
Accepted

Port 9735 for both MAINNET and TESTNET

I don't know what the design decisions were that led to this, or their rationale, but: Particularly if you run a MAINNET node and a TESTNET node on the same machine, how would the host know which ...
user avatar
2 votes
Accepted

How to open the port 8332 on EC2 instance?

In the Type dropdown menu, change HTTP to All TCP; enter 8332 as the port number; enter the IP of the computer that will be sending RPC requests under 'Source.'
user avatar
  • 28.7k
2 votes

Bitcoin communication with non-standard ports

Nodes on the network which are not running on the default ports (8333 for the main network, 18333 for testnet) will be avoided by the reference client in order to not cause disruption to other ...
user avatar
  • 21
2 votes
Accepted

Does port 8333 need to be opened as TCP_OUT or TCP_IN?

Port 8333 is only relevant for inbound connections. Opening it allows other nodes to start talking with your node. That said, a Bitcoin node can fully participate in the network even if you don't ...
user avatar
1 vote

How to change RPC port for bitcoind? (rpcport=xxx in bitcoin.conf doesn't work)

It looks like a bug: I've also replicated the same behaviour on my machine using the current version, Bitcoin Core Daemon version v0.17.99.0-g2945492424934fa360f86b116184ee8e34f19d0a freshly ...
user avatar
1 vote

Port 8333 and Issues to have a connection

You are conflating the two ports that Bitcoin Core opens and uses. There is the Bitcoin network port. That is port 8333 by default. You DO NOT want to try to connect to that as it is used for the ...
user avatar
  • 62.3k
1 vote

Using BTCPay Server along with a web server in a single machine

No, you can't specify port numbers in DNS records. It must be the reverse proxy which listens on ports 80 and 443 (not BTCPay Server). The reverse proxy should pass traffic to BTCPay Server or your ...
user avatar
1 vote

Port 8333 closed, fwd on Router OK, firewall port open, full-node not reachable

First, check your router opens that port too and redirects that port to you computer. Then check CGNAT. If the external IP address your router shows isn't the same as you find when you search for "...
user avatar
  • 9,849
1 vote
Accepted

Change port 8333 to other. (Running multiple docker instances)

Yes you can and the node will still sync and push transaction data. Most of the nodes are behind NAT and not reachable anyway from the internet. These nodes are initiating connection against random ...
user avatar
1 vote
Accepted

The result of bitcoin-cli getpeerinfo command

so, I checked my router whether the port number(48302, 44660) is opened or not but, no any port is currently open. They don't appear open because those ports are not always open listening for ...
user avatar
  • 62.3k
1 vote

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

Nodes that participate in the Bitcoin network run a computer program such as this one: https://github.com/bitcoin/bitcoin, which dictates how everything works. To answer your more specific questions: ...
user avatar
  • 44
1 vote

Allowing Incoming Connection on Bitcoin Core

I had the same problem after following all of the usual steps. I waited and it still didn't work. I had to change my computer's firewall (in the Inbound Rules) for the Bitcoin Core (highlighted one ...
user avatar
1 vote

Why does ONLY some connections have 'addrlocal' in getpeerinfo output

I would guess addrlocal shows you your endpoint of the connection, that is your IP address and port number. For all incoming connections that would be the same as the IP address and port you are ...
user avatar
  • 6,208

Only top scored, non community-wiki answers of a minimum length are eligible