No route to host开启服务器访问端口权限

sudo firewall-cmd --add-rich-rule="rule family="ipv4" source address="127.0.0.1" port protocol="tcp" port="8080" accept" --permanent
sudo firewall-cmd --reload

  

posted @ 2023-05-12 00:47  涂山有雨  阅读(37)  评论(0编辑  收藏  举报