Last Updated: February 25, 2016
·
1.469K
· blrandel

Starting a django dev server that is externally accessible

This is particularly handy if you're using Vagrant for development. To start a development server that can be accessed from any host (by default it can only be reached from the same interface).

./manage.py runserver [::]:8000

2 Responses
Add your response

It's probably worth mentioning that running the server with [::]:8000 will enable IPv6 support, whereas 0.0.0.0:8000 will only enable IPv4 support.

over 1 year ago ·

@chrismckinnel I found 0:8000 is also works.

over 1 year ago ·