diff --git a/sample-btcd.conf b/sample-btcd.conf index dce3dd3b2..7c2173675 100644 --- a/sample-btcd.conf +++ b/sample-btcd.conf @@ -88,9 +88,9 @@ ; nodnsseed=1 ; Specify the interfaces to listen on. One listen address per line. -; NOTE: The default port is modified by the 'testnet' and 'regtest' options -; so it is recommended to not specify a port and allow a proper default to be -; chosen unless you have a specific reason to do otherwise. +; NOTE: The default port is modified by some options such as 'testnet', so it is +; recommended to not specify a port and allow a proper default to be chosen +; unless you have a specific reason to do otherwise. ; listen= ; all interfaces on default port (this is the default) ; listen=0.0.0.0 ; all ipv4 interfaces on default port ; listen=:: ; all ipv6 interfaces on default port @@ -99,7 +99,7 @@ ; listen=[::]:8333 ; all ipv6 interfaces on port 8333 ; listen=127.0.0.1:8333 ; only ipv4 localhost on port 8333 ; listen=[::1]:8333 ; only ipv6 localhost on port 8333 -; listen=127.0.0.1:8336 ; only ipv4 localhost on port 8336 +; listen=127.0.0.1:8336 ; only ipv4 localhost on non-standard port 8336 ; listen=:8336 ; all interfaces on non-standard port 8336 ; listen=0.0.0.0:8336 ; all ipv4 interfaces on non-standard port 8336 ; listen=[::]:8336 ; all ipv6 interfaces on non-standard port 8336 @@ -121,21 +121,28 @@ ; rpcuser=whatever_username_you_want ; rpcpass= +; Specify the interfaces for the RPC server listen on. One listen address per +; line. NOTE: The default port is modified by some options such as 'testnet', +; so it is recommended to not specify a port and allow a proper default to be +; chosen unless you have a specific reason to do otherwise. +; rpclisten= ; all interfaces on default port (this is the default) +; rpclisten=0.0.0.0 ; all ipv4 interfaces on default port +; rpclisten=:: ; all ipv6 interfaces on default port +; rpclisten=:8334 ; all interfaces on port 8334 +; rpclisten=0.0.0.0:8334 ; all ipv4 interfaces on port 8334 +; rpclisten=[::]:8334 ; all ipv6 interfaces on port 8334 +; rpclisten=127.0.0.1:8334 ; only ipv4 localhost on port 8334 +; rpclisten=[::1]:8334 ; only ipv6 localhost on port 8334 +; rpclisten=127.0.0.1:8337 ; only ipv4 localhost on non-standard port 8337 +; rpclisten=:8337 ; all interfaces on non-standard port 8337 +; rpclisten=0.0.0.0:8337 ; all ipv4 interfaces on non-standard port 8337 +; rpclisten=[::]:8337 ; all ipv6 interfaces on non-standard port 8337 + ; Use the following setting to disable the RPC server even if the rpcuser and ; rpcpass are specified above. This allows one to quickly disable the RPC ; server without having to remove credentials from the config file. ; norpc=1 -; The port used to listen for RPC connections. -; rpclisten=:8334 -; -; Listen on a given address on default port. -; rpclisten=1.2.3.4 -; -; Listen on a given address and port. -; rpclisten=1.2.3.4:8335 -; - ; ------------------------------------------------------------------------------ ; Debug