Re:Poll: What is your primary development system? Mac, PC, L...
by thirsteh on Saturday April 02, 2011 @09:14AM
(#2399843)
Just switch to Bridged networking in the VM and don't care about port mapping at all? (It will have its own IP.)
[ Parent
| on HN ]
Re:Poll: What is your primary development system? Mac, PC, L...
by asymptotic on Monday April 04, 2011 @03:11AM
(#2405698)
In case anyone else stumbled upon this thread, I've always thought running a VirtualBox VM in Bridged Networking mode still did not allow the VM instance to be externally accessible.
However, then I read this ServerFault thread and realised the bridge is a _new interface_, and hence you must either bind directly to it or bind to all interfaces in order to get your VM to become externally accesible!
http://serverfault.com/questions/206498/virtualbox-bridge-ne...
Fantastic!
Re:Poll: What is your primary development system? Mac, PC, L...
by thirsteh on Monday April 04, 2011 @05:33AM
(#2405935)
It's much easier when it's just another IP address! :)
And yeah, the reason something like AppEngine or Django wouldn't work is that they, by default, bind only to loopback/127.0.0.1, and are only accessible from the host on which they're running, as a security precaution.