[Django]-Running ubuntu vagrant server won't show anything on debian local browser

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.

👤r2_d2

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?

Leave a comment