4
For my dev machine, I have windows 7 host with ubuntu guest. I run the guest as the server.
Every time I want to test from the host, I find my current guest IP address, and connect via that (for example, today it is 192.168.1.188:3000/). Of course, this changes every time I connect to a different network.
I want to create a named address, dev.myapp.com that I can connect to from the host windows machine, or possibly any machine on the network (if that is possible, though it may be a security concern, somebody on the network would need to know my url name in order to access, so I'm not that concerned).
I've tried chaning the etc/hosts
in ubuntu to include
127.0.0.1:3000 dev.myapp.com
but unfortunately, this isn't resolving from either the host or guest. I'm using a bridged network adapter, promiscuous mode is deny.
Why does the guest not have a static IP? – None – 2012-08-14T02:43:10.650
@RandolphWest, should I be setting a static ip? I thought dynamic was the standard as I'm regularly switching from one network to another. – pedalpete – 2012-08-14T03:12:53.800
Ah, no that's fine. Ignore me :-) – None – 2012-08-14T03:21:32.537