diff --git a/config.go b/config.go index b0d722ea5..e771fca00 100644 --- a/config.go +++ b/config.go @@ -118,7 +118,7 @@ type config struct { RPCKey string `long:"rpckey" description:"File containing the certificate key"` OneTimeTLSKey bool `long:"onetimetlskey" description:"Generate a new TLS certpair at startup, but only write the certificate to disk"` DisableServerTLS bool `long:"noservertls" description:"Disable TLS for the RPC server -- NOTE: This is only allowed if the RPC server is bound to localhost"` - LegacyRPCListeners []string `long:"rpclisten" description:"Listen for legacy RPC connections on this interface/port (default port: 19110, mainnet: 9110, simnet: 18557)"` + LegacyRPCListeners []string `long:"rpclisten" description:"Listen for legacy RPC connections on this interface/port (default port: 9110, testnet: 19110, simnet: 18557)"` LegacyRPCMaxClients int64 `long:"rpcmaxclients" description:"Max number of legacy RPC clients for standard connections"` LegacyRPCMaxWebsockets int64 `long:"rpcmaxwebsockets" description:"Max number of legacy RPC websocket connections"` Username string `short:"u" long:"username" description:"Username for legacy RPC and dcrd authentication (if dcrdusername is unset)"` diff --git a/rpc/documentation/clientusage.md b/rpc/documentation/clientusage.md index af4a32d69..077024205 100644 --- a/rpc/documentation/clientusage.md +++ b/rpc/documentation/clientusage.md @@ -19,7 +19,7 @@ dcrwallet itself. The rest of this document provides short examples of how to quickly get started by implementing a basic client that fetches the balance of the default account -(account 0) from a testnet3 wallet listening on `localhost:19110` in several +(account 0) from a testnet wallet listening on `localhost:19110` in several different languages: - [Go](#go) diff --git a/sample-dcrwallet.conf b/sample-dcrwallet.conf index a53f8ae3f..f1fb1bf7e 100644 --- a/sample-dcrwallet.conf +++ b/sample-dcrwallet.conf @@ -68,11 +68,11 @@ ; rpclisten= ; all interfaces on default port ; rpclisten=0.0.0.0 ; all ipv4 interfaces on default port ; rpclisten=:: ; all ipv6 interfaces on default port -; rpclisten=:19110 ; all interfaces on port 19110 -; rpclisten=0.0.0.0:19110 ; all ipv4 interfaces on port 19110 -; rpclisten=[::]:19110 ; all ipv6 interfaces on port 19110 -; rpclisten=127.0.0.1:19110 ; only ipv4 localhost on port 19110 (this is a default) -; rpclisten=[::1]:19110 ; only ipv6 localhost on port 19110 (this is a default) +; rpclisten=:9110 ; all interfaces on port 9110 +; rpclisten=0.0.0.0:9110 ; all ipv4 interfaces on port 9110 +; rpclisten=[::]:9110 ; all ipv6 interfaces on port 9110 +; rpclisten=127.0.0.1:9110 ; only ipv4 localhost on port 9110 (this is a default) +; rpclisten=[::1]:9110 ; only ipv6 localhost on port 9110 (this is a default) ; rpclisten=127.0.0.1:18337 ; only ipv4 localhost on non-standard port 18337 ; rpclisten=:18337 ; all interfaces on non-standard port 18337 ; rpclisten=0.0.0.0:18337 ; all ipv4 interfaces on non-standard port 18337