From fed427b08769e57409d0135655fb0f5b07c43538 Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx Date: Wed, 27 Feb 2008 11:10:03 -0700 Subject: [PATCH] docs: clarify which webport value is the default --- docs/webapi.txt | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/docs/webapi.txt b/docs/webapi.txt index deeddec1..e1996189 100644 --- a/docs/webapi.txt +++ b/docs/webapi.txt @@ -12,12 +12,14 @@ This document has six sections: a. connecting to the tahoe node -Writing "8123" into $NODEDIR/webport causes the node to run a webserver on -port 8123. Writing "tcp:8123:interface=127.0.0.1" into $NODEDIR/webport does -the same but binds to the loopback interface, ensuring that only the programs -on the local host can connect. Using -"ssl:8123:privateKey=mykey.pem:certKey=cert.pem" would run an SSL server. See -twisted.application.strports for more details. +Writing "8123" into $NODEDIR/webport causes the node to run a webserver on port +8123. Writing "tcp:8123:interface=127.0.0.1" into $NODEDIR/webport does the same +but binds to the loopback interface, ensuring that only the programs on the +local host can connect. This is the value that gets written into +$NODEDIR/webport when a Tahoe node is created. + +Using "ssl:8123:privateKey=mykey.pem:certKey=cert.pem" would run an SSL +server. See twisted.application.strports for more details. This webport can be set when the node is created by passing a --webport option to the 'tahoe create-client' command. By default, the node listens on -- 2.45.2