From: Zooko O'Whielacronx Date: Wed, 27 Feb 2008 18:10:03 +0000 (-0700) Subject: docs: clarify which webport value is the default X-Git-Url: https://git.rkrishnan.org/pf/content//%22%3C?a=commitdiff_plain;h=fed427b08769e57409d0135655fb0f5b07c43538;p=tahoe-lafs%2Ftahoe-lafs.git docs: clarify which webport value is the default --- 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