Linux CentOS 7&x2B;Lighttpd,web服务器在运行期间不工作
我已经在我的新CENOS 7上安装了Lighttp 当我尝试访问我的IP时,它正在加载,但最终说无法访问该站点(连接超时) 当运行systemctl status lighttpd-l时,服务似乎已启动并正在运行 有什么想法吗Linux CentOS 7&x2B;Lighttpd,web服务器在运行期间不工作,linux,centos,centos7,lighttpd,Linux,Centos,Centos7,Lighttpd,我已经在我的新CENOS 7上安装了Lighttp 当我尝试访问我的IP时,它正在加载,但最终说无法访问该站点(连接超时) 当运行systemctl status lighttpd-l时,服务似乎已启动并正在运行 有什么想法吗 [root@myvps ~]# systemctl status lighttpd -l ● lighttpd.service - Lightning Fast Webserver With Light System Requirements Loaded: loa
[root@myvps ~]# systemctl status lighttpd -l
● lighttpd.service - Lightning Fast Webserver With Light System Requirements
Loaded: loaded (/usr/lib/systemd/system/lighttpd.service; enabled; vendor preset: disabled)
Active: active (running) since Tue 2020-02-11 09:50:53 CET; 19min ago
Main PID: 7559 (lighttpd)
CGroup: /system.slice/lighttpd.service
└─7559 /usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf
Feb 11 09:50:53 myvps.mydomain.net systemd[1]: Stopped Lightning Fast Webserver With Light System Requirements.
Feb 11 09:50:53 myvps.mydomain.net systemd[1]: Started Lightning Fast Webserver With Light System Requirements.
Feb 11 09:50:53 myvps.mydomain.net lighttpd[7559]: 2020-02-11 09:50:53: (network.c.162) warning: please use server.use-ipv6 only for hostnames, not without server.bind / empty address; your config will break if the kernel default for IPV6_V6ONLY changes
Feb 11 09:50:53 myvps.mydomain.net lighttpd[7559]: 2020-02-11 09:50:53: (server.c.1437) can't have more connections than fds/2: 1024 1024
[root@myvps ~]#
通过运行解决
firewall-cmd --permanent --add-service=http
success
[root@myvps~]# firewall-cmd --reload
success
在web上的某个地方找到它。通过运行
firewall-cmd --permanent --add-service=http
success
[root@myvps~]# firewall-cmd --reload
success
在网上的某个地方找到的。Dupe of Dupe of