1

I'm working with a Django project on my Mac (running Leopard) and I want to show it to my team. I've already passed the neccessary port forwards from my router to my Mac's LAN IP address but it doesn't work.

I've also tried running the XAMPP server since that always worked with my Windows XP computer but it still doesn't work. Whenever I type my > it's showing a Page Load Error. Is this possibly an issue with an Mac OS X configuration that I need to setup first to allow my port forwards to get in? It's my first time to do this with Mac, perhaps I need to configure something else in network preferences?

2
  • 1
    anything in the error logs?
    – ChristopheD
    Jun 9, 2009 at 5:44
  • Are you saying it works on your computer, but no one else can access it? Jun 11, 2009 at 0:16

1 Answer 1

2

I'm guessing your using the built-in "manage.py runserver" command? Since this is only intended for development it binds to localhost. You need to use "manage.py runserver 0.0.0.0:8000" to bind to all addresses.

Note: This webserver is really not intended for production, please don't use as a way to host your live site.

1
  • +1 on not using in production. However, sometimes during rapid development-phases, it is helpful to be able to expose the local dev environment when Django is used as an API.
    – Atra Azami
    Nov 6, 2014 at 9:55

You must log in to answer this question.