Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add example command to changing the listen address #863

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions users/guilisten.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,12 @@ To use a port number lower than 1024, you will need to:
port number.

We do not recommend using a port number lower than 1024.

Example
-------

Changing the listen address to ``0.0.0.0:8384``.
Comment on lines +64 to +67
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not exactly clear what the context is from the header name, like @acolomb said.

Suggested change
Example
-------
Changing the listen address to ``0.0.0.0:8384``.
Using the CLI to change the GUI Listen Address
-------
Here is an example of changing the listen address to ``0.0.0.0:8384`` using the CLI:


```
syncthing cli config gui raw-address set 0.0.0.0:8384
```
Comment on lines +69 to +71
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Triple backticks don't work with reStructuredText.

Suggested change
```
syncthing cli config gui raw-address set 0.0.0.0:8384
```
``syncthing cli config gui raw-address set 0.0.0.0:8384``