Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm running django's simple HTTP server (using python manage.py runserver). It's currently running on port 8000.

How can I open a port on my macbook and allow network traffic to visit my host on port 8000?

share|improve this question
    
If it's running on port 8000, the port is already open. What are you asking? Perhaps you'll need an exclusion in your firewall for that port, but it's not clear from your question. –  user3463 Apr 28 '12 at 0:20
    
The port is open to me locally, but is most likely being blocked by my computer's firewall. I need to open it. –  MaxMackie Apr 28 '12 at 0:25
add comment

1 Answer

up vote 3 down vote accepted

System Preferences > Security & Privacy > Firewall > Advanced.

Add a new entry with the +. Since you're running an executable, you can search for python, or you could add an entry using the port via command-line and ipfw.

More info here: http://serverfault.com/a/105736/3914

share|improve this answer
add comment

Your Answer

 
discard

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.