//启动服务apache服务器
sudo apachectl start
//失败的话,重启服务
sudo apachectl restart
The effect is as follows:
localhost
127.0.0.1
//启动服务apache服务器
sudo apachectl start
//失败的话,重启服务
sudo apachectl restart
The effect is as follows:
localhost
127.0.0.1