宝塔用户_byaurq 发表于 2022-6-9 18:05:48

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

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



南南呦 发表于 2022-6-9 18:31:44

您好!请问是哪里的服务器?执行以下命令截图看一下结果
curl -v www.bt.cn

宝塔用户_iztxcs 发表于 2022-6-10 19:08:44

堡塔运维向樛木 发表于 2022-6-9 18:31
您好!请问是哪里的服务器?执行以下命令截图看一下结果

* Rebuilt URL to: www.bt.cn/
% Total    % Received % XferdAverage Speed   Time    Time   TimeCurrent
                                 DloadUpload   Total   Spent    LeftSpeed
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
<
{
100   162100   162    0   0    162      00: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 % XferdAverage Speed   Time    Time   Tim ...

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

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

还是不行的话执行以下命令手动清理原来的节点,让服务器自己获取节点
sed -i "/bt.cn/d" /etc/hosts
页: [1]
查看完整版本: 【待反馈】连接服务器失败