xiswpw
Last Updated: February 25, 2016
·
1.068K
· 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
Say Thanks
Respond

2 Responses
Add your response

3271
4428f6b9f4609795f25f62a352442d6a

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 ·
5980

@chrismckinnel I found 0:8000 is also works.

over 1 year ago ·
Filed Under