mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 18:32:12 +02:00
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:
committed by
Richard Purdie
parent
962edb8d3d
commit
f258b6ac3a
@@ -61,19 +61,32 @@
|
||||
</para>
|
||||
</section>
|
||||
|
||||
<section id='setting-a-different-address'>
|
||||
<title>Setting a Different Address</title>
|
||||
<section id='setting-up-external-access'>
|
||||
<title>Setting up External Access</title>
|
||||
|
||||
<para>
|
||||
By default, Toaster binds to the loop back address
|
||||
(i.e. localhost).
|
||||
You can use the <filename>WEBPORT</filename> parameter to
|
||||
set a different host.
|
||||
For example, the following command sets the host and port
|
||||
to "0.0.0.0:8400":
|
||||
(i.e. localhost), which does not allow access from
|
||||
external hosts. To allow external access, use the
|
||||
<filename>WEBPORT</filename> parameter to open an
|
||||
address that connects to the network, specifically the
|
||||
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'>
|
||||
$ source toaster start webport=0.0.0.0:8400
|
||||
</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>
|
||||
</section>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user