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

系统防火墙设置端口时出错

发表在 Linux面板2020-10-11 12:08 [复制链接] 0 1142

请问,系统防火墙设置端口(39000-40000)时出现错误怎么整?
附出错信息:

抱歉,出错了:
Traceback (most recent call last):
File "class/flask_sockets.py", line 30, in __call__
handler, values = adapter.match()
File "/usr/local/lib/python3.6/site-packages/werkzeug/routing.py", line 1799, in match
raise NotFound()
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "class/panelPlugin.py", line 1898, in a
return eval(execStr)
File "", line 1, in
File "plugin/firewall/firewall_main.py", line 263, in modify_rules
if int(ports) == 22:
ValueError: invalid literal for int() with base 10: '39000-40000'
使用道具 举报 只看该作者 回复
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

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

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

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析

工作时间:09:00至18:30

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