Home > Backend Development > PHP Tutorial > mac上nginx无法监听80端口

mac上nginx无法监听80端口

WBOY
Release: 2016-06-06 20:34:54
Original
1804 people have browsed it

我用brew安装了一个nginx,然后修改了下配置文件,如下

mac上nginx无法监听80端口

然后测试没问题

mac上nginx无法监听80端口

因为mac自带的apache占用了80端口,我先把apache停掉

mac上nginx无法监听80端口

现在80端口没有程序监听了

mac上nginx无法监听80端口

然后我启动nginx sudo nginx,那么问题来了,为什么80端口没有被监听到……

mac上nginx无法监听80端口

求大神指点,谢谢啦

回复内容:

我用brew安装了一个nginx,然后修改了下配置文件,如下

mac上nginx无法监听80端口

然后测试没问题

mac上nginx无法监听80端口

因为mac自带的apache占用了80端口,我先把apache停掉

mac上nginx无法监听80端口

现在80端口没有程序监听了

mac上nginx无法监听80端口

然后我启动nginx sudo nginx,那么问题来了,为什么80端口没有被监听到……

mac上nginx无法监听80端口

求大神指点,谢谢啦

MAC 自带了APACHE 把APACHE停了

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template