当前位置:论坛首页 > Windows面板 > 讨论

【待反馈】连接服务器失败

发表在 Windows面板2022-6-9 18:05 [复制链接] 3 2889

绑定宝塔帐号,提示连接服务器失败,请问是什么原因?




使用道具 举报 只看该作者 回复
发表于 2022-6-9 18:31:44 | 显示全部楼层
您好!请问是哪里的服务器?执行以下命令截图看一下结果
  1. curl -v www.bt.cn
复制代码
使用道具 举报 回复 支持 反对
发表于 2022-6-10 19:08:44 | 显示全部楼层
堡塔运维向樛木 发表于 2022-6-9 18:31
您好!请问是哪里的服务器?执行以下命令截图看一下结果

* Rebuilt URL to: www.bt.cn/
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 42.157.129.124...
* TCP_NODELAY set
* Connected to www.bt.cn (42.157.129.124) port 80 (#0)
> GET / HTTP/1.1
> Host: www.bt.cn
> User-Agent: curl/7.55.1
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
< Date: Fri, 10 Jun 2022 11:07:58 GMT
< Content-Type: text/html
< Content-Length: 162
< Connection: keep-alive
< Location: https://www.bt.cn/
< Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
<
{ [162 bytes data]
100   162  100   162    0     0    162      0  0:00:01 --:--:--  0:00:01   947
* Connection #0 to host www.bt.cn left intact
<html>
<head><title>301 Moved Permanently</title></head>
<body>
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx</center>
</body>
</html>
使用道具 举报 回复 支持 反对
发表于 2022-6-12 11:54:54 | 显示全部楼层
宝塔用户_iztxcs 发表于 2022-6-10 19:08
* Rebuilt URL to: www.bt.cn/
  % Total    % Received % Xferd  Average Speed   Time    Time     Tim ...

修复一下连接我司节点,不要在宝塔面板自带的终端里面执行
上海、香港地区使用链接里的方法:
https://www.bt.cn/bbs/thread-87257-1-1.html

其他地区服务器执行以下命令解决,请问具体是哪个地区的服务器呢?回复一下
不知道是那个地区服务器的建议从3选项开始一个一个尝试直到可以连接为止
  1. wget http://125.90.93.52/tools/auto_fix.sh && bash auto_fix.sh
复制代码


还是不行的话执行以下命令手动清理原来的节点,让服务器自己获取节点
sed -i "/bt.cn/d" /etc/hosts
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

工作时间:白班:9:00 - 18:00

工作时间:晚班:18:00 - 24:00

立即付费处理

工作时间:09:00至24:00

快速回复 返回顶部 返回列表