Mac firewall blocking nginx (port 80) from external side

Posted by Alex Ionescu on Super User See other posts from Super User or by Alex Ionescu
Published on 2012-12-14T09:30:51Z Indexed on 2013/10/18 15:59 UTC
Read the original article Hit count: 214

Filed under:
|
|
|
|

I installed nginx using ports and started it with sudo. Accessing the nginx welcome page from localhost works perfectly, however accessing it from an external computer fails.

Doing an nmap on the computer from the outside reveals

80/tcp   filtered http

So clearly the mac firewall is blocking the port. I then proceed to add the nginx executable to the firewall exception list as seen in this image, however the nmap still shows up as port 80 being filtered and I'm unable to access the webpage. The exact binary that is in the list is /opt/local/sbin/nginx which to my knowledge seems correct

Any ideas what I should do? Thanks!

P.S. Turning the firewall off does allow me to access the website from the outside world, however that isn't an ideal solution.

© Super User or respective owner

Related posts about osx

Related posts about firewall