Bitcoin Core peer-to-peer network (8332 is the JSON-RPC port).
Bitcoin Core peer-to-peer network (8332 is the JSON-RPC port).
Meant to face the internet. Exposing the P2P port is fine for a full node; never expose RPC on 8332.
Port 8333 is in the registered range and has no IANA assignment. The usage above is unofficial but widespread.
sudo ss -tlnp 'sport = :8333'sudo lsof -nP -i :8333sudo netstat -tlnp | grep ':8333 'netstat -ano | findstr :8333Get-NetTCPConnection -LocalPort 8333 -State Listen | Select LocalAddress,OwningProcessnc -vz -w 5 HOST 8333Test-NetConnection HOST -Port 8333sudo ufw allow 8333/tcpsudo iptables -A INPUT -p tcp --dport 8333 -j ACCEPTsudo nft add rule inet filter input tcp dport 8333 acceptNew-NetFirewallRule -DisplayName 'Allow TCP 8333' -Direction Inbound -Protocol TCP -LocalPort 8333 -Action AllowAll port numbers · Open port checker
Assignment data: IANA port number registry (public domain), retrieved 2026-11-10.