mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: Add port forward button (#4167)
This commit is contained in:
@@ -4,9 +4,10 @@ Port forwarding lets developers securely access processes on their Coder
|
||||
workspace from a local machine. A common use case is testing web
|
||||
applications in a browser.
|
||||
|
||||
There are two ways to forward ports in Coder:
|
||||
There are three ways to forward ports in Coder:
|
||||
|
||||
- The `coder port-forward` command
|
||||
- Dashboard
|
||||
- SSH
|
||||
|
||||
The `coder port-forward` command is generally more performant.
|
||||
@@ -21,6 +22,16 @@ coder port-forward myworkspace --tcp 8000:8080
|
||||
|
||||
For more examples, see `coder port-forward --help`.
|
||||
|
||||
## Dashboard
|
||||
|
||||
> To enable port forwarding via the dashboard, Coder must be configured with a
|
||||
> [wildcard access URL](./admin/configure#wildcard-access-url).
|
||||
|
||||
Use the "Port forward" button in the dashboard to access ports
|
||||
running on your workspace.
|
||||
|
||||

|
||||
|
||||
## SSH
|
||||
|
||||
First, [configure SSH](../ides.md#ssh-configuration) on your
|
||||
|
||||
Reference in New Issue
Block a user