还没法--host 0.0.0.0启动啊 #76
Replies: 13 comments 13 replies
|
我也发现了这个问题,但是实际上我手动转发到0.0.0.0后,在PAD上工作区会加载失败,文件选择器也会报错,等更新吧 |
|
This is intentional, not a startup bug. The Web API can drive agent actions, including bash execution, but remote authentication is not available yet. Please use |
|
tailscale 也会撞上这个问题 |
|
监听自身是老大难问题了,opencode web当时也做得很烂 |
|
可以用nginx做一下路由 |
|
moxisuki/dsh-lan 我做了个插件可以暂时解决这个问题
|
|
修改源码可以解决 #替换路径并查找报错的源代码文件 #打开查找到的文件,将下面注释的代码修改成非注释的 #再次--host 0.0.0.0就可以了 |
|
服务器上部署后,笔记本 ssh -L 转发端口好像可以用 |
|
目前缓解措施:用SSH隧道登入 |
|
如果你也遇到 |
|
感谢 @zerodegress @l246804 的回复,方法可用。 使用 SSH 端口转发远程访问 DeepSeek Harness Web UI
📌 背景与适用场景DeepSeek Harness 的 Web UI 默认只监听 适用场景:
✅ 前置条件
🔧 操作步骤1. 在服务器上正常启动 Harness登录服务器后,启动 Web UI(保持默认监听地址): npx @deepseek-ai/dsh web --port 3080确保服务正常运行后,保持该终端会话或使用 2. 建立 SSH 端口转发隧道(任选一种客户端)🐧 Linux / macOS / WSL(使用 OpenSSH)在本地终端执行: ssh -L 3080:127.0.0.1:3080 用户名@服务器IP
执行后,SSH 会建立会话并保持连接(不要关闭终端)。你可以加上 ssh -fN -L 3080:127.0.0.1:3080 用户名@服务器IP但要确保已配置好 SSH 密钥免密登录,否则 🪟 Windows(使用 OpenSSH 客户端)若你使用 Windows 10/11 自带的 OpenSSH 客户端(在 PowerShell 或 CMD 中),命令与 Linux 相同: ssh -L 3080:127.0.0.1:3080 用户名@服务器IP若使用 PuTTY:
若使用 MobaXterm:
3. 验证隧道是否成功隧道建立后,在本地打开浏览器,访问: 如果看到 DeepSeek Harness 的 Web 界面,则转发成功。
🔍 常见问题与排障
🛡️ 安全建议
|
|
可以搭配Caddy食用: # Caddyfile
dsh.site.com {
reverse_proxy 127.0.0.1:3080 {
# 修改上行请求头
header_up Host "127.0.0.1:3080"
header_up Origin "http://127.0.0.1:3080"
# 覆盖 Sec-Fetch-Site,避免被拒绝
header_up Sec-Fetch-Site "same-origin"
# 或者直接删除: header_up -Sec-Fetch-Site
}
} |

Uh oh!
There was an error while loading. Please reload this page.
npx @deepseek-ai/dsh web --host 0.0.0.0
error: --host 0.0.0.0 is intentionally not supported yet for safety: it would expose remote code execution to the network; use 127.0.0.1 instead
All reactions