diff options
| -rw-r--r-- | documentation/toaster-manual/toaster-manual-setup-and-use.xml | 27 |
1 files changed, 20 insertions, 7 deletions
diff --git a/documentation/toaster-manual/toaster-manual-setup-and-use.xml b/documentation/toaster-manual/toaster-manual-setup-and-use.xml index 77291c1eea..62a0b63dd7 100644 --- a/documentation/toaster-manual/toaster-manual-setup-and-use.xml +++ b/documentation/toaster-manual/toaster-manual-setup-and-use.xml | |||
| @@ -61,19 +61,32 @@ | |||
| 61 | </para> | 61 | </para> |
| 62 | </section> | 62 | </section> |
| 63 | 63 | ||
| 64 | <section id='setting-a-different-address'> | 64 | <section id='setting-up-external-access'> |
| 65 | <title>Setting a Different Address</title> | 65 | <title>Setting up External Access</title> |
| 66 | 66 | ||
| 67 | <para> | 67 | <para> |
| 68 | By default, Toaster binds to the loop back address | 68 | By default, Toaster binds to the loop back address |
| 69 | (i.e. localhost). | 69 | (i.e. localhost), which does not allow access from |
| 70 | You can use the <filename>WEBPORT</filename> parameter to | 70 | external hosts. To allow external access, use the |
| 71 | set a different host. | 71 | <filename>WEBPORT</filename> parameter to open an |
| 72 | For example, the following command sets the host and port | 72 | address that connects to the network, specifically the |
| 73 | to "0.0.0.0:8400": | 73 | IP address that your NIC uses to connect to the network. |
| 74 | You can also bind to all IP addresses the computer | ||
| 75 | supports by using the shortcut | ||
| 76 | "0.0.0.0:<replaceable>port</replaceable>". | ||
| 77 | </para> | ||
| 78 | |||
| 79 | <para> | ||
| 80 | The following example binds to all IP addresses on the | ||
| 81 | host: | ||
| 74 | <literallayout class='monospaced'> | 82 | <literallayout class='monospaced'> |
| 75 | $ source toaster start webport=0.0.0.0:8400 | 83 | $ source toaster start webport=0.0.0.0:8400 |
| 76 | </literallayout> | 84 | </literallayout> |
| 85 | This example binds to a specific IP address on the host's | ||
| 86 | NIC: | ||
| 87 | <literallayout class='monospaced'> | ||
| 88 | $ source toaster start webport=192.168.1.1:8400 | ||
| 89 | </literallayout> | ||
| 77 | </para> | 90 | </para> |
| 78 | </section> | 91 | </section> |
| 79 | 92 | ||
