当前位置:论坛首页 > Linux面板 > 求助

【待反馈】连接宝塔云端服务失败

发表在 Linux面板2022-5-22 23:14 [复制链接] 1 75

1.png
执行修复程序也不行
一下为修复程序选项7输出内容

===================================================================
--------------e------- /www/server/panel/data/userInfo.json
--------------e------- /www/server/panel/data/plugin_bin.pl
--------------e------- /www/server/panel/data/auth_list.json
--------------e------- /www/server/panel/install/public.sh
--------------e------- /www/server/panel/install/check.sh
节点连接状态:
www.bt.cn 302 42.157.129.124
api.bt.cn 200 42.157.129.47
download.bt.cn 000
dg1.bt.cn 200 116.10.184.219
dg2.bt.cn 200 116.10.184.219

系统DNS设置:
# This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8).
# Do not edit.
#
# This file might be symlinked as /etc/resolv.conf. If you're looking at
# /etc/resolv.conf and seeing this text, you have followed the symlink.
#
# This is a dynamic resolv.conf file for connecting local clients to the
# internal DNS stub resolver of systemd-resolved. This file lists all
# configured search domains.
#
# Run "resolvectl status" to see details about the uplink DNS servers
# currently in use.
#
# Third party programs should typically not access this file directly, but only
# through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a
# different way, replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.

nameserver 127.0.0.53
options edns0 trust-ad
search AlbertNet

请将上方红线至此段话显示的所有内容,截图完整上传宝塔论坛或发送给宝塔运维


使用道具 举报 只看该作者 回复
发表于 2022-5-23 09:16:02 | 显示全部楼层
您好!在命令行执行以下命令(逐行执行)重新定义一下节点试试
注意:根据服务器所在的位置指定一个节点就可以了
国内的服务器指定到官网节点:.
  1. #清理原来的节点
  2. sed -i "/bt.cn/d" /etc/hosts
  3. #手动指定节点
  4. echo  "42.157.129.47 www.bt.cn api.bt.cn download.bt.cn dg2.bt.cn dg1.bt.cn" >> /etc/hosts
复制代码

海外的服务器指定到香港节点:
  1. #清理原来的节点
  2. sed -i "/bt.cn/d" /etc/hosts
  3. #手动指定节点
  4. echo  "116.213.43.206 www.bt.cn api.bt.cn download.bt.cn dg2.bt.cn dg1.bt.cn" >> /etc/hosts
复制代码

使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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