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 technologies for implementing peer-to-peer networks such as UPnP and Hole Punching, does Bitcoin use any of these technologies for its p2p network?


Posted 2019-09-29T16:11:27.017

Reputation: 31


Possible duplicate of What is the NAT traversal technique used by bitcoin

– RedGrittyBrick – 2019-09-29T16:39:18.560



Nodes that participate in the Bitcoin network run a computer program such as this one:, which dictates how everything works.

To answer your more specific questions:


Posted 2019-09-29T16:11:27.017

Reputation: 34

No modern versions include UPnP. – Anonymous – 2019-09-29T19:18:28.057