Accessing Guest OS from Host without internet connection
Posted: 20. May 2013, 01:59
I have been looking (googling) for a solution for some time now and while I did find a solution to it, it was not how i wanted it.
You see, what I would like to do is, access the server from my Guest OS via localhost or any other means from my Host OS. Without the need to be connected to the internet or a network. I will be travelling a lot in the next few weeks and would like to be able to continue developing my projects while on the road but do not want to install apache/mysql/php on my host. Essentially i want to jail my dev server.
So far I've been able to use NAT and port forward 127.0.0.1 port 8080 to 10.0.2.15 port 80. That works fine and all but I would much rather have it accessed via port 80. That way i can just create faux domains and access them via mydomain.dev instead of mydomain.dev:8080.
If anyone has a solution or a better alternative, please let me know.
And in case anyone is wondering... I did somewhat RTFM and i've spent a month trying to google, without success.
You see, what I would like to do is, access the server from my Guest OS via localhost or any other means from my Host OS. Without the need to be connected to the internet or a network. I will be travelling a lot in the next few weeks and would like to be able to continue developing my projects while on the road but do not want to install apache/mysql/php on my host. Essentially i want to jail my dev server.
So far I've been able to use NAT and port forward 127.0.0.1 port 8080 to 10.0.2.15 port 80. That works fine and all but I would much rather have it accessed via port 80. That way i can just create faux domains and access them via mydomain.dev instead of mydomain.dev:8080.
If anyone has a solution or a better alternative, please let me know.
And in case anyone is wondering... I did somewhat RTFM and i've spent a month trying to google, without success.