Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use the built-in Apache 2 that comes with OS X (10.6.8 in my case) for development. I've been looking in access logs and seen I'm constantly poked from outside by nosy bots. I'd like to make it stop - not out of security concerns but I fear it might affect my performance.

I know OS X comes with a built-in firewall, but I never used it. What's the rule to block any incoming traffic? Should I use the firewall or should I just modify the Apache configuration?

share|improve this question
I nice tip that reduces the amount of attacks considerably is listening to another non-standard port. This is modified in the Apache configuration, e.g. Listen 9876 in the config file /etc/httpd/httpd.conf. – user111228 Jan 8 '12 at 19:17

Use your router's firewall. If you are behind a router this shouldn't happen as incoming traffic (HTTP / port 80) should never be forwarded unless you are specifically intending to run a server from home.

If you are behind a router firewall and this is still happening - check any settings for forwarding port 80.

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.