Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Rather confused by the results I'm getting on a Mac OS X Server running 10.8. I have an app that is running a web server on port 8000, which I want to be visible only to localhost. This seems perfectly suited for the GUI OS X firewall, but after turning it on (and searching its limited options), I'm still able to connect to port 8000 from remote computers.

After turning the firewall on, I automatically have ports open for AFP, SSH, Remote Management, and Screen Sharing, none of which should affect 8000 AFAIK. What am I missing here? And is this a job for the built-in firewall, or should I be looking at pf or ipfw?

share|improve this question

1 Answer 1

Open System Preferences > Security & Privacy > Firewall, switch to superuser by unlocking it, select Firewall Options...,

click on the +, select your application server, and click on the Add button to create a new firewall entry for your server.

For this new entry select on the right Block incoming connections.

Check your server locally and remotely.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.