Page 1 of 1

accessing django site on guest from host

Posted: 24. Dec 2014, 22:05
by jhjr
Host: OSX 10.9.5
Guest: Ubuntu Server 14.04

I'm going through a django tutorial and have been able to setup Ubuntu Server as guest OS and can ssh to the virtual machine from the host, but I am unable to access the django site from host. I have tried port forwarding 8000 and host-only network but both are unsuccessful. I would appreciate any help!

Re: accessing django site on guest from host

Posted: 9. Jan 2015, 03:05
by ags799
Bumping because I have the exact same issue. I can SSH from host to guest. I can access the webserver from the guest. I cannot access it from the host. I have tried forwarding guest port 8000 to host port 8000. No impact.

Re: accessing django site on guest from host

Posted: 9. Jan 2015, 03:10
by Perryg
If you can ping or ssh to the guest then the network in VirtualBox has done its thing. Port restrictions, firewall, and app configuration should be directed to the app developer or guest OS developer.

Note: you only need to port forward if using VirtualBox NAT.