首先要知道CentOS 7 采用了 firewalld 防火墙,而在linux中其他版本大多是通过编辑iptables的配置文件来修改。

1、添加9000端口

# firewall-cmd --add-port=9000/tcp

2、查看9000端口

# firewall-cmd --query-port=9000/tcp

 

相关文章:

  • 2021-08-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-30
  • 2021-08-27
  • 2022-12-23
  • 2021-09-30
  • 2022-02-07
相关资源
相似解决方案