I’ve just setup Homebrew’s Nginx on Mac OS X 10.11 (El Capitan).
If I set my Ngnix config like this:
listen 127.0.0.1:8080; listen 127.0.0.1:81; listen 127.0.0.1:75;
It’ll work. But If I put this in there:
It wont. I’ll get connection refused if I go
ps says Nginx is running, but
netstat -a | grep nginx or
netstat -a | grep 80 says it isn't.
Running this as root, of course (not that I need that for running on
And Mac OS X Firewall’s not running.
Error log doesn’t show this anymore anymore:
2015/10/10 17:16:19 [emerg] 23906#0: bind() to 0.0.0.0:80 failed (48: Address already in use)
Any ideas? I CAN work with this running on
8080 (curiously, when I run on
8080, it opens the
80 port and redirects it to