Last Updated: February 25, 2016
· 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 will only enable IPv4 support.

over 1 year ago ·

@chrismckinnel I found 0:8000 is also works.

over 1 year ago ·