Last Updated: August 02, 2018
· wkjagt

Django dev server in vagrant

If you want to run Django in a vm (ideally using Vagrant), you may run into a problem when you follow the getting started guide in the documentation where you can't access your Django site from your host machine's browser. The solution is pretty simple, and actually present in the documentation, but you need to dig a little deeper. From the documentation:

Note that the default IP address,, is not accessible from other machines on your network. To make your development server viewable to other machines on the network, use its own IP address (e.g. or or :: (with IPv6 enabled).


So instead of running:

python manage.py runserver 8080


python manage.py runserver [::]:8080

and you're good to go.

1 Response
Add your response


Here the ways to map drives in windows 10 are available so if you are facing problems and needs help so you switch to http://mapnetworkdrive.org and can have exact solution for this. Also you know more about it.

2 months ago ·