Closed FoolYang closed 3 months ago
我在一台云服务部署的whistle,启动后; 在我本地电脑访问 http://公网ip:8899,显示如下
From: whistle@2.9.66 Node: v16.20.2 Host: hwsg-xxxxxxx Date: 3/19/2024, 10:03:02 PM Error: socket connect timeout at retry (/usr/local/lib/node_modules/whistle/lib/inspectors/res.js:546:34) at Timeout._onTimeout (/usr/local/lib/node_modules/whistle/lib/inspectors/res.js:668:31) at listOnTimeout (node:internal/timers:559:17) at processTimers (node:internal/timers:502:7)
已知 我本地电脑和云服务网络正常,8899端口也放开了;
通过 python3 -m http.server 8899 测试端口,本机是可以正常访问的;我认为 端口和网络是正常的;
但是本地电脑 curl -I http://公网ip:8899/,就返回502,具体如下 HTTP/1.1 502 Bad Gateway content-type: text/html; charset=utf8 x-server: whistle Date: Tue, 19 Mar 2024 09:24:59 GMT Connection: keep-alive Keep-Alive: timeout=5
辛苦帮忙看看,还有可能是什么原因,非常感谢~ (我在网络上查询,有人说检查下whistle的配置,但我没有找到配置文件,如果可以指出配置文件目录,也十分感谢~)
加个启动参数 w2 restart -l "公网IP"
w2 restart -l "公网IP"
@avwo 非常感谢,启动加参数后 可以打开页面了; 但是抓不到包,手机代理配置正常,就是没有任何请求;请问这个 可能是什么原因呢?
ps:主界面右上角 online选项 里面看起来是有数据的;但是没有请求显示出来
Requests 不是为 0 吗?
知道原因了,是因为服务器限制了ip来源导致,感谢大佬指导~
我在一台云服务部署的whistle,启动后; 在我本地电脑访问 http://公网ip:8899,显示如下
From: whistle@2.9.66 Node: v16.20.2 Host: hwsg-xxxxxxx Date: 3/19/2024, 10:03:02 PM Error: socket connect timeout at retry (/usr/local/lib/node_modules/whistle/lib/inspectors/res.js:546:34) at Timeout._onTimeout (/usr/local/lib/node_modules/whistle/lib/inspectors/res.js:668:31) at listOnTimeout (node:internal/timers:559:17) at processTimers (node:internal/timers:502:7)
已知 我本地电脑和云服务网络正常,8899端口也放开了;
通过 python3 -m http.server 8899 测试端口,本机是可以正常访问的;我认为 端口和网络是正常的;
但是本地电脑 curl -I http://公网ip:8899/,就返回502,具体如下 HTTP/1.1 502 Bad Gateway content-type: text/html; charset=utf8 x-server: whistle Date: Tue, 19 Mar 2024 09:24:59 GMT Connection: keep-alive Keep-Alive: timeout=5
辛苦帮忙看看,还有可能是什么原因,非常感谢~ (我在网络上查询,有人说检查下whistle的配置,但我没有找到配置文件,如果可以指出配置文件目录,也十分感谢~)