flask框架在本机可访问,而其它机子访问不了

因在本机可使用192段的IP访问,可以确认非应用问题,怀疑防火墙问题,关闭后恢复正常。

本机可访问
image

其它机子无法访问
image

查看防火墙状态
image

关闭防火墙
image

其它机子访问正常
image

## 查看防火墙状态
systemctl status firewalld
## 关闭防火墙
systemctl stop firewalld

## 开机启动防火墙
systemctl enable firewalld
## 开机不启动防火墙
systemctl disable firewalld

posted @ 2025-04-23 23:40  chenzechao  阅读(74)  评论(0)    收藏  举报