Does port 8333 need to be listed in TCP_OUT in a firewall or in TCP_IN as well?

1 Answer 1


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 allow inbound connections (to port 8333). It'll use outgoing connections, which start from random higher unprivileged ports and connect to port 8333 of another node. If you can allow incoming connections that's good for the health of the Bitcoin network, otherwise outbound connections are functionally equivalent.

Bitcoin Core can also offer a JSON-RPC interface on port 8332, so if you need that, act accordingly.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.