toaster-manual: Rewrite of the 'Setting Up External Access' section

(From yocto-docs rev: f3737aaeabf5ae169d07b72ef6b70e2b5d7cb4b7)

Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Kristi Rifenbark
2017-09-27 16:22:48 -07:00
committed by Richard Purdie
parent 962edb8d3d
commit f258b6ac3a

View File

@@ -61,19 +61,32 @@
</para> </para>
</section> </section>
<section id='setting-a-different-address'> <section id='setting-up-external-access'>
<title>Setting a Different Address</title> <title>Setting up External Access</title>
<para> <para>
By default, Toaster binds to the loop back address By default, Toaster binds to the loop back address
(i.e. localhost). (i.e. localhost), which does not allow access from
You can use the <filename>WEBPORT</filename> parameter to external hosts. To allow external access, use the
set a different host. <filename>WEBPORT</filename> parameter to open an
For example, the following command sets the host and port address that connects to the network, specifically the
to "0.0.0.0:8400": IP address that your NIC uses to connect to the network.
You can also bind to all IP addresses the computer
supports by using the shortcut
"0.0.0.0:<replaceable>port</replaceable>".
</para>
<para>
The following example binds to all IP addresses on the
host:
<literallayout class='monospaced'> <literallayout class='monospaced'>
$ source toaster start webport=0.0.0.0:8400 $ source toaster start webport=0.0.0.0:8400
</literallayout> </literallayout>
This example binds to a specific IP address on the host's
NIC:
<literallayout class='monospaced'>
$ source toaster start webport=192.168.1.1:8400
</literallayout>
</para> </para>
</section> </section>