LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (http://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   qemu ping guest os (http://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/qemu-ping-guest-os-847818/)

Squall90 12-01-2010 09:39 PM

qemu ping guest os
 
Hi,

I was testing a server in a virtual machine. Now I want to access it from my host. I know, that I can access the host from the guest with 10.0.2.2 but what's the IP adress of the guest when I'm working on my host?

Thanks

_________

edit:
I tried to add
Code:

-redir tcp:8080::10000
10000 is the port on my guest and I want to access it through localhost:8080.

But it does not work.

Any ideas?

___________________


Edit: It works now! iptables was activated and blocked the access...

archtoad6 12-07-2010 08:31 AM

Thanks for posting the solution. That's the LQ spirit.

A suggestion for the future: If you answer your own question, put the solution in a separate post; this does 2 good things:
  • It generates e-mail to anyone who subscribed to either the thread or the forum.
  • It avoids the creation of oxymoronic 0-reply solved threads.


All times are GMT -5. The time now is 02:51 AM.