How to shut down the built-in apache service in macOS Sierra and release port 80
曾经蜡笔没有小新
曾经蜡笔没有小新 2017-05-16 16:57:52
0
4
591

I want to install nginx and let it use port 80, thank you!

曾经蜡笔没有小新
曾经蜡笔没有小新

reply all(4)
phpcn_u1582

sudo apachectl stop
Close the apache server

仅有的幸福

lsof -i:80

Then kill 掉 Apache 任务对应的 pid

If lsof 输出太多,试试在后面加上 | grep -i 'apache'

伊谢尔伦

Guess, vi /etc/apache2/httpd.conf, modify listen 80 to listen 88.
You don’t have to worry about restarting like this.

黄舟

Look for the configuration file and modify port 80 of nginx or apache to another port.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template