mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-03 10:46:58 +01:00
doc: make it clearer that specifying addr etc disables autolisten.
Reported-by: Greg Sanders Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
47743a287c
commit
56fd2541c3
2 changed files with 5 additions and 4 deletions
|
@ -2,12 +2,12 @@
|
|||
.\" Title: lightningd-config
|
||||
.\" Author: [see the "AUTHOR" section]
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 10/12/2018
|
||||
.\" Date: 11/21/2018
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "LIGHTNINGD\-CONFIG" "5" "10/12/2018" "\ \&" "\ \&"
|
||||
.TH "LIGHTNINGD\-CONFIG" "5" "11/21/2018" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
@ -278,7 +278,7 @@ Networking options:
|
|||
.sp
|
||||
Note that for simple setups, the implicit \fIautolisten\fR option does the right thing: it will try to bind to port 9735 on IPv4 and IPv6, and will announce it to peers if it\(cqs seems like a public address\&.
|
||||
.sp
|
||||
You can instead use \fIaddr\fR to override this (eg\&. to change the port), or precisely control where to bind and what to announce with the \fIbind\-addr\fR and \fIannounce\-addr\fR options\&.
|
||||
You can instead use \fIaddr\fR to override this (eg\&. to change the port), or precisely control where to bind and what to announce with the \fIbind\-addr\fR and \fIannounce\-addr\fR options\&. These will \fBdisable\fR the \fIautolisten\fR logic, so you must specifiy exactly what you want!
|
||||
.PP
|
||||
\fBaddr\fR=\fI[IPADDRESS[:PORT]]|autotor:TORIPADDRESS[:TORPORT]\fR
|
||||
.RS 4
|
||||
|
|
|
@ -218,7 +218,8 @@ will announce it to peers if it's seems like a public address.
|
|||
|
||||
You can instead use 'addr' to override this (eg. to change the port),
|
||||
or precisely control where to bind and what to announce with the
|
||||
'bind-addr' and 'announce-addr' options.
|
||||
'bind-addr' and 'announce-addr' options. These will *disable* the
|
||||
'autolisten' logic, so you must specifiy exactly what you want!
|
||||
|
||||
*addr*='[IPADDRESS[:PORT]]|autotor:TORIPADDRESS[:TORPORT]'::
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue