Skip to content
Merged
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
4 changes: 2 additions & 2 deletions doc/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,13 @@ Restart `code-server` with (assuming you followed the guide):
systemctl --user restart code-server
```

Now forward local port 8080 to `127.0.0.1:8080` on the remote instance.
Now forward local port 8080 to `127.0.0.1:8080` on the remote instance by running the following command on your local machine.

Recommended reading: https://help.ubuntu.com/community/SSH/OpenSSH/PortForwarding.

```bash
# -N disables executing a remote shell
ssh -N -L 8080:127.0.0.1:8080 <instance-ip>
ssh -N -L 8080:127.0.0.1:8080 [user]@<instance-ip>
```

Now if you access http://127.0.0.1:8080 locally, you should see `code-server`!
Expand Down