Windows下访问Apache服务器,需要通过以下哪条命令打开80端口?
A: systemctl is-enabled httpd.servie
B: systemctl enable httpd.service
C: firewall-cmd --query-port=80/tcp
D: firewall-cmd --add-port=80/tcp
A: systemctl is-enabled httpd.servie
B: systemctl enable httpd.service
C: firewall-cmd --query-port=80/tcp
D: firewall-cmd --add-port=80/tcp
举一反三
- Windows下访问Apache服务器,需要通过以下哪条命令打开80端口?
- 启动apache服务器的命令是() A: systemctl httpd start B: systemctl start httpd C: service httpd open D: service start httpd
- 想要启动httpd服务,应该使用如下那个命令? A: systemctl enable httpd.service B: systemctl disable httpd.service C: systemctl start httpd.service D: systemctl status httpd.service
- 希望某一个服务httpd开机自启动,应该使用如下那种命令? A: systemctl able httpd.service B: systemctl enable httpd.service C: systemctl start httpd.service D: systemctl restart httpd.service
- 确认httpd服务运行状态的命令为()。 A: systemctl status httpd B: systemctl restart httpd C: systemctl start httpd D: systemctl enable httpd