可以在后臺(tái)命令運(yùn)行器里運(yùn)行
service nginxd restart
service httpd restart
看有沒(méi)什么提示,根據(jù)相應(yīng)提示進(jìn)行修改就可以
可是ssh里連接到服務(wù)器里運(yùn)行上述命令來(lái)看
姝e.?.. httpd錛.ttpd: Could not reliably determine the server's fully qualified domain name, using 125.76.232.8 for ServerName
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs