2👍
✅
If changing the port forwarding doesn’t work.You might also need to change in the settings of virtual box from NAT
to Bridged Adapter
.
1👍
The firewall will block incoming traffix on port 8000, so you will have to forward that port. Try adding this this to the configuration. you’re using:
config.vm.network "forwarded_port", guest: 8000, host: 8080
and then browse to http://192.168.100.10:8080 it should work.
Also dont forget to privision your box again, or even restart just to be sure.
vagrant reload --provision
Why it works on your other machine is a mystery to me. Maybe there is no firewall, or the port is already forwarded?
- [Django]-Django 1.3 – can't register my custom UserAdmin
- [Django]-How do I add a temporary field to a model in Django?
- [Django]-Django site in developement: CSS not loading for all pages
- [Django]-Django celery WorkerLostError: Worker exited prematurely: signal 9 (SIGKILL) error
- [Django]-Django: posting a template value to a view
Source:stackexchange.com