diff --git a/doc/coding.md b/doc/coding.md index ab3a73494..4cffb4608 100644 --- a/doc/coding.md +++ b/doc/coding.md @@ -75,7 +75,7 @@ Threads - ThreadMapPort : Universal plug-and-play startup/shutdown -- ThreadSocketHandler : Sends/Receives data from peers on port 8333. +- ThreadSocketHandler : Sends/Receives data from peers on port 22556. - ThreadOpenAddedConnections : Opens network connections to added nodes. @@ -87,7 +87,7 @@ Threads - ThreadFlushWalletDB : Close the wallet.dat file if it hasn't been used in 500ms. -- ThreadRPCServer : Remote procedure call handler, listens on port 8332 for connections and services them. +- ThreadRPCServer : Remote procedure call handler, listens on port 22555 for connections and services them. - BitcoinMiner : Generates bitcoins (if wallet is enabled). diff --git a/doc/tor.md b/doc/tor.md index b5eb91e12..7aa7c5d5f 100644 --- a/doc/tor.md +++ b/doc/tor.md @@ -47,11 +47,11 @@ reachable from the Tor network. Add these lines to your /etc/tor/torrc (or equiv config file): HiddenServiceDir /var/lib/tor/bitcoin-service/ - HiddenServicePort 8333 127.0.0.1:8333 - HiddenServicePort 18333 127.0.0.1:18333 + HiddenServicePort 22556 127.0.0.1:8333 + HiddenServicePort 122556 127.0.0.1:18333 The directory can be different of course, but (both) port numbers should be equal to -your bitcoind's P2P listen port (8333 by default). +your bitcoind's P2P listen port (22556 by default). -externalip=X You can tell bitcoin about its publicly reachable address using this option, and this can be a .onion address. Given the above @@ -81,7 +81,7 @@ specify: ./bitcoind ... -discover -and open port 8333 on your firewall (or use -upnp). +and open port 22556 on your firewall (or use -upnp). If you only want to use Tor to reach onion addresses, but not use it as a proxy for normal IPv4/IPv6 communication, use: