Welcome! Log In Create A New Profile

Advanced

OSX 10.11 El Capitan using part 8080 is fine but not port 80

Posted by erwin16 
OSX 10.11 El Capitan using part 8080 is fine but not port 80
February 20, 2016 01:20PM
when I use in my nginx.conf

server {
listen 8080;

I can access my index page , but whenever I changed it tp

server {
listen 80

then I cannot access it..

same issue with port 443 , I have to use port 8443 to get it running fine..

It's weird as I checked

sudo lsof -i -P | grep -i nginx
Password:
nginx 35231 root 12u IPv4 0xe906ac28eb68a51b 0t0 TCP *:80 (LISTEN)
nginx 35231 root 13u IPv4 0xe906ac28ee03851b 0t0 TCP *:8443 (LISTEN)
nginx 35231 root 14u IPv4 0xe906ac28eefe9033 0t0 TCP *:8080 (LISTEN)
nginx 35232 yves 12u IPv4 0xe906ac28eb68a51b 0t0 TCP *:80 (LISTEN)
nginx 35232 yves 13u IPv4 0xe906ac28ee03851b 0t0 TCP *:8443 (LISTEN)
nginx 35232 yves 14u IPv4 0xe906ac28eefe9033 0t0 TCP *:8080 (LISTEN)
Re: OSX 10.11 El Capitan using part 8080 is fine but not port 80
February 20, 2016 01:42PM
http://stackoverflow.com/questions/7612053/binding-on-privileged-ports-ports-1024-on-mac-os-x-10-6
http://www.faqoverflow.com/apple/37418.html

---
nginx for Windows http://nginx-win.ecsds.eu/
Re: OSX 10.11 El Capitan using part 8080 is fine but not port 80
February 21, 2016 04:54AM
Thanks a lot ... I guessed it was something related with El Capitan, as it was running fine on Ubuntu or previous OSX versions...
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 302
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready