1、设置防火墙,允许用户使用http访问本机

[root@localhost geoserver]# systemctl enable httpd
Created symlink from /etc/systemd/system/multi-user.target.wants/httpd.service to /usr/lib/systemd/system/httpd.service.
[root@localhost geoserver]# systemctl start httpd
[root@localhost geoserver]# firewall-cmd --permanent --add-service=http
success
[root@localhost geoserver]# firewall-cmd --permanent --add-service=https
success
[root@localhost geoserver]# firewall-cmd --reload
success
[root@localhost geoserver]#

 

相关文章:

  • 2021-08-21
  • 2022-02-12
  • 2021-11-21
  • 2022-12-23
  • 2022-12-23
  • 2021-08-27
  • 2021-10-11
  • 2021-05-21
猜你喜欢
  • 2021-11-14
  • 2021-07-09
  • 2022-12-23
  • 2021-10-03
  • 2022-12-23
  • 2021-12-01
  • 2021-11-08
相关资源
相似解决方案