编辑
2022-12-16
小白笔记
0

image.png 修改/www/server/panel/class/public.py

找到

bash
#检查端口是否合法 def checkPort(port): if not re.match("^\d+$",port): return False ports = ['21','25','443','8080','888','8888','8443'] if port in ports: return False intport = int(port) if intport < 1 or intport > 65535: return False return True

把8443删掉 如下

bash
#检查端口是否合法 def checkPort(port): if not re.match("^\d+$",port): return False ports = ['21','25','443','8080','888','8888'] if port in ports: return False intport = int(port) if intport < 1 or intport > 65535: return False return True

终端输入bt,4号命令重载bt面板即可

本文作者:墨洺的文档

本文链接:

版权声明:本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!