Skip to content

Commit

Permalink
RPC port to 18777
Browse files Browse the repository at this point in the history
  • Loading branch information
presstab committed Jul 10, 2014
1 parent bd9830a commit 4fbebb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bitcoinrpc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ std::string HelpMessage()
#endif
" -rpcuser=<user> " + _("Username for JSON-RPC connections") + "\n" +
" -rpcpassword=<pw> " + _("Password for JSON-RPC connections") + "\n" +
" -rpcport=<port> " + _("Listen for JSON-RPC connections on <port> (default: 18776 or testnet: 28776)") + "\n" +
" -rpcport=<port> " + _("Listen for JSON-RPC connections on <port> (default: 18777 or testnet: 28776)") + "\n" +
" -rpcallowip=<ip> " + _("Allow JSON-RPC connections from specified IP address") + "\n" +
" -rpcconnect=<ip> " + _("Send commands to node running on <ip> (default: 127.0.0.1)") + "\n" +
" -blocknotify=<cmd> " + _("Execute command when the best block changes (%s in cmd is replaced by block hash)") + "\n" +
Expand Down

0 comments on commit 4fbebb9

Please sign in to comment.