Bundle
dsh-wsl-port
WSL port doctor; dsh ≥0.1.2 uiPlaybook uses :3081/?token= (bare :3081 is 401).
- Source
- 173787247
- stars
- 1 stars
- License
- MIT
- Updated
- Updated 2 days ago
Readme
# dsh-wsl-port
> **Install set:** part of [dsh-wsl-kit](https://github.com/173787247/dsh-wsl-kit). Prefer `KIT_SET=daily` | `llm` | `github` | `full` (see kit README). Fault tree: [TROUBLESHOOTING.md](https://github.com/173787247/dsh-wsl-kit/blob/master/docs/TROUBLESHOOTING.md).
DeepSeek Harness tool: **`port_doctor`** — report WSL IPs and whether a TCP port is listening; advise on Windows **localhost forwarding**.
Part of **[dsh-wsl-kit](https://github.com/173787247/dsh-wsl-kit)**.
[中文说明 → README.zh.md](./README.zh.md)
---
## Why
A server bound in WSL may be reachable as `http://127.0.0.1:<port>` from Windows—or may need the WSL eth IP / a firewall fix / `wsl --shutdown`. This tool checks `hostname -I` and `ss` listen state.
Default port: **3080** (common `dsh web` port). Override with the `port` argument.
## Install
```sh
dsh plugin --profile web add github:173787247/dsh-wsl-port
```
## Config
```yaml
- id: dsh-wsl-port
name: dsh-wsl-port
config:
timeoutMs: 15000
defaultPort: 3080
```
## Test
```sh
npm test
```
## License
MIT
Install
dsh plugin --profile web add github:173787247/dsh-wsl-port
Profile: web
With the hub plugin installed, ask your agent to install it by name — it resolves the same plan shown here.
dsh plugin --profile web add github:stvlynn/dsh.fish#path:packages/dsh-plugin-hub
install dsh-wsl-port from the hub
- This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.