diff --git a/contrib/zmq/zmq_sub.py b/contrib/zmq/zmq_sub.py index 3dea5e3c1..584589258 100755 --- a/contrib/zmq/zmq_sub.py +++ b/contrib/zmq/zmq_sub.py @@ -8,7 +8,7 @@ import zmq import struct -port = 28332 +port = 29332 zmqContext = zmq.Context() zmqSubSocket = zmqContext.socket(zmq.SUB) diff --git a/doc/release-notes-litecoin.md b/doc/release-notes-litecoin.md index 679cb31ba..10a02846b 100644 --- a/doc/release-notes-litecoin.md +++ b/doc/release-notes-litecoin.md @@ -361,9 +361,9 @@ arbitrary TCP connections inside SSL. On e.g. Ubuntu it can be installed with: sudo apt-get install stunnel4 -Then, to tunnel a SSL connection on 28332 to a RPC server bound on localhost on port 18332 do: +Then, to tunnel a SSL connection on 29332 to a RPC server bound on localhost on port 19332 do: - stunnel -d 28332 -r 127.0.0.1:18332 -p stunnel.pem -P '' + stunnel -d 29332 -r 127.0.0.1:19332 -p stunnel.pem -P '' It can also be set up system-wide in inetd style. @@ -381,8 +381,8 @@ caching. A sample config for apache2 could look like: SSLCertificateKeyFile /etc/apache2/ssl/server.key - ProxyPass http://127.0.0.1:8332/ - ProxyPassReverse http://127.0.0.1:8332/ + ProxyPass http://127.0.0.1:9332/ + ProxyPassReverse http://127.0.0.1:9332/ # optional enable digest auth # AuthType Digest # ... diff --git a/doc/zmq.md b/doc/zmq.md index 2cd050662..a4e69323c 100644 --- a/doc/zmq.md +++ b/doc/zmq.md @@ -66,7 +66,7 @@ address. The same address can be used in more than one notification. For instance: - $ litecoind -zmqpubhashtx=tcp://127.0.0.1:28332 \ + $ litecoind -zmqpubhashtx=tcp://127.0.0.1:29332 \ -zmqpubrawtx=ipc:///tmp/litecoind.tx.raw Each PUB notification has a topic and body, where the header diff --git a/qa/rpc-tests/zmq_test.py b/qa/rpc-tests/zmq_test.py index 3a116317f..d4a7f364a 100755 --- a/qa/rpc-tests/zmq_test.py +++ b/qa/rpc-tests/zmq_test.py @@ -21,7 +21,7 @@ def __init__(self): super().__init__() self.num_nodes = 4 - port = 28332 + port = 29332 def setup_nodes(self): self.zmqContext = zmq.Context() diff --git a/src/chainparamsbase.cpp b/src/chainparamsbase.cpp index cb71a8b55..62037f644 100644 --- a/src/chainparamsbase.cpp +++ b/src/chainparamsbase.cpp @@ -32,7 +32,7 @@ class CBaseMainParams : public CBaseChainParams public: CBaseMainParams() { - nRPCPort = 8332; + nRPCPort = 9332; } }; static CBaseMainParams mainParams; @@ -45,7 +45,7 @@ class CBaseTestNetParams : public CBaseChainParams public: CBaseTestNetParams() { - nRPCPort = 18332; + nRPCPort = 19332; strDataDir = "testnet3"; } }; @@ -59,7 +59,7 @@ class CBaseRegTestParams : public CBaseChainParams public: CBaseRegTestParams() { - nRPCPort = 18332; + nRPCPort = 19332; strDataDir = "regtest"; } };