OSDN Git Service

Merge pull request #41 from Bytom/dev
[bytom/vapor.git] / vendor / github.com / btcsuite / btcd / docs / default_ports.md
1 While btcd is highly configurable when it comes to the network configuration,
2 the following is intended to be a quick reference for the default ports used so
3 port forwarding can be configured as required.
4
5 btcd provides a `--upnp` flag which can be used to automatically map the bitcoin
6 peer-to-peer listening port if your router supports UPnP.  If your router does
7 not support UPnP, or you don't wish to use it, please note that only the bitcoin
8 peer-to-peer port should be forwarded unless you specifically want to allow RPC
9 access to your btcd from external sources such as in more advanced network
10 configurations.
11
12 |Name|Port|
13 |----|----|
14 |Default Bitcoin peer-to-peer port|TCP 8333|
15 |Default RPC port|TCP 8334|