diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp index e642dbfe5..e082f644a 100644 --- a/src/bitcoinrpc.cpp +++ b/src/bitcoinrpc.cpp @@ -43,7 +43,7 @@ void ThreadRPCServer3(void* parg); static inline unsigned short GetDefaultRPCPort() { - return GetBoolArg("-testnet", false) ? 28776 : 18776; + return GetBoolArg("-testnet", false) ? 28776 : 18777; } Object JSONRPCError(int code, const string& message) diff --git a/src/init.cpp b/src/init.cpp index 0b66e38f3..5c025ce85 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -274,7 +274,7 @@ std::string HelpMessage() #endif " -rpcuser= " + _("Username for JSON-RPC connections") + "\n" + " -rpcpassword= " + _("Password for JSON-RPC connections") + "\n" + - " -rpcport= " + _("Listen for JSON-RPC connections on (default: 18776 or testnet: 28776)") + "\n" + + " -rpcport= " + _("Listen for JSON-RPC connections on (default: 18777 or testnet: 28776)") + "\n" + " -rpcallowip= " + _("Allow JSON-RPC connections from specified IP address") + "\n" + " -rpcconnect= " + _("Send commands to node running on (default: 127.0.0.1)") + "\n" + " -blocknotify= " + _("Execute command when the best block changes (%s in cmd is replaced by block hash)") + "\n" +