northeastTycoon

1.查看防火墙状态,root用户登录,执行命令systemctl status firewalld

2.开启防火墙:systemctl start firewalld

3.关闭防火墙:systemctl stop firewalld

4.放行端口:firewall-cmd --add-port=27017/tcp,此处需要注意cmd和--之间有空格,开放为使用端口27017

分类:

技术点:

相关文章:

  • 2021-09-20
  • 2021-11-18
  • 2021-11-18
  • 2021-12-10
  • 2021-12-10
  • 2021-10-03
猜你喜欢
  • 2021-08-09
  • 2021-12-15
  • 2021-11-18
  • 2022-02-02
  • 2021-11-28
  • 2021-07-11
相关资源
相似解决方案