dsh-wsl-port
开发工具 活跃维护

dsh-wsl-port

173787247/dsh-wsl-port

轻量级网络诊断工具,自动检测WSL端口监听状态,智能排查Windows本地主机转发配置异常,输出可读诊断报告,支持快速定位WSL与Windows网络通信故障

1
Stars 标星
0
Forks 分支
1
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
16 KB
仓库大小
3 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:173787247/dsh-wsl-port
git clone https://github.com/173787247/dsh-wsl-port.git
git clone git@github.com:173787247/dsh-wsl-port.git
README.md master

dsh-wsl-port

Install set: part of dsh-wsl-kit. Prefer KIT_SET=daily | llm | github | full (see kit README). Fault tree: 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.

中文说明 → 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

dsh plugin --profile web add github:173787247/dsh-wsl-port

Config

- id: dsh-wsl-port
  name: dsh-wsl-port
  config:
    timeoutMs: 15000
    defaultPort: 3080

Test

npm test

License

MIT