春风飞扬 发表于 2025-7-28 09:17:29

【已解决】 面板无法访问

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:9.6.0
系统版本:Debian 12
问题描述:在已经存在宝塔的主机上安装尝试耗子面板,二者都无法访问、卸载耗子、修复宝塔后,宝塔面板还是无法访问
相关截图(日志、错误):
```shellroot@DY:~# ps aux | grep -i 'BT-Panel'
root   10824370.01.1 133812 45340 ?      S    09:10   0:00 /www/server/panel/pyenv/bin/python3 /www/server/panel/BT-Panel
root   10828300.00.0   63362264 pts/1    S+   09:12   0:00 grep -i BT-Panel
root@DY:~# netstat -lunpt|grep 15432
tcp      0      0 0.0.0.0:15432         0.0.0.0:*               LISTEN      1082437/python3

root@DY:~# curl -v 127.0.0.1:15432/f24ee271
*   Trying 127.0.0.1:15432...
* Connected to 127.0.0.1 (127.0.0.1) port 15432 (#0)
> GET /f24ee271 HTTP/1.1
> Host: 127.0.0.1:15432
> User-Agent: curl/7.88.1
> Accept: */*
>
* Recv failure: Connection reset by peer
* Closing connection 0
curl: (56) Recv failure: Connection reset by peer
```


春风飞扬 发表于 2025-7-28 09:20:56

root@DY:~# iptables -nL
Chain INPUT (policy ACCEPT)
target   prot opt source               destination
IN_BT      0    --0.0.0.0/0            0.0.0.0/0

Chain FORWARD (policy ACCEPT)
target   prot opt source               destination
DOCKER-USER0    --0.0.0.0/0            0.0.0.0/0
DOCKER-FORWARD0    --0.0.0.0/0            0.0.0.0/0

Chain OUTPUT (policy ACCEPT)
target   prot opt source               destination
OUT_BT   0    --0.0.0.0/0            0.0.0.0/0

Chain DOCKER (2 references)
target   prot opt source               destination
ACCEPT   6    --0.0.0.0/0            172.17.0.2         tcp dpt:5700
DROP       0    --0.0.0.0/0            0.0.0.0/0
DROP       0    --0.0.0.0/0            0.0.0.0/0

Chain DOCKER-BRIDGE (1 references)
target   prot opt source               destination
DOCKER   0    --0.0.0.0/0            0.0.0.0/0
DOCKER   0    --0.0.0.0/0            0.0.0.0/0

Chain DOCKER-CT (1 references)
target   prot opt source               destination
ACCEPT   0    --0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
ACCEPT   0    --0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED

Chain DOCKER-FORWARD (1 references)
target   prot opt source               destination
DOCKER-CT0    --0.0.0.0/0            0.0.0.0/0
DOCKER-ISOLATION-STAGE-10    --0.0.0.0/0            0.0.0.0/0
DOCKER-BRIDGE0    --0.0.0.0/0            0.0.0.0/0
ACCEPT   0    --0.0.0.0/0            0.0.0.0/0
ACCEPT   0    --0.0.0.0/0            0.0.0.0/0

Chain DOCKER-ISOLATION-STAGE-1 (1 references)
target   prot opt source               destination
DOCKER-ISOLATION-STAGE-20    --0.0.0.0/0            0.0.0.0/0
DOCKER-ISOLATION-STAGE-20    --0.0.0.0/0            0.0.0.0/0

Chain DOCKER-ISOLATION-STAGE-2 (2 references)
target   prot opt source               destination
DROP       0    --0.0.0.0/0            0.0.0.0/0
DROP       0    --0.0.0.0/0            0.0.0.0/0

Chain DOCKER-USER (1 references)
target   prot opt source               destination

Chain IN_BT (1 references)
target   prot opt source               destination
IN_BT_user_port0    --0.0.0.0/0            0.0.0.0/0
IN_BT_ip   0    --0.0.0.0/0            0.0.0.0/0
IN_BT_user_ip0    --0.0.0.0/0            0.0.0.0/0
IN_BT_log0    --0.0.0.0/0            0.0.0.0/0

Chain IN_BT_Country (1 references)
target   prot opt source               destination

Chain IN_BT_ip (1 references)
target   prot opt source               destination
IN_BT_Country0    --0.0.0.0/0            0.0.0.0/0

Chain IN_BT_log (1 references)
target   prot opt source               destination

Chain IN_BT_user_ip (1 references)
target   prot opt source               destination
DROP       0    --0.0.0.0/0            0.0.0.0/0            match-set in_bt_user_drop_ipset src
ACCEPT   0    --0.0.0.0/0            0.0.0.0/0            match-set in_bt_user_accept_ipset src

Chain IN_BT_user_port (1 references)
target   prot opt source               destination

Chain OUT_BT (1 references)
target   prot opt source               destination
OUT_BT_user_port0    --0.0.0.0/0            0.0.0.0/0
OUT_BT_user_ip0    --0.0.0.0/0            0.0.0.0/0

Chain OUT_BT_user_ip (1 references)
target   prot opt source               destination
DROP       0    --0.0.0.0/0            0.0.0.0/0            match-set out_bt_user_drop_ipset dst
ACCEPT   0    --0.0.0.0/0            0.0.0.0/0            match-set out_bt_user_accept_ipset dst

Chain OUT_BT_user_port (1 references)
target   prot opt source               destination

春风飞扬 发表于 2025-7-28 10:24:03

测试环境:https://14.103.152.109:15432/f24ee271

root@14.103.152.109
密码2025-07-31

春风飞扬 发表于 2025-7-28 13:32:17

测试服务费
https://14.103.152.109:15432/f24ee271

root@14.103.152.109
2025-07-31

春风飞扬 发表于 2025-7-28 13:42:28

已查明问题
页: [1]
查看完整版本: 【已解决】 面板无法访问