Take the 2-minute tour ×

Hi in my Windows machine I have installed Virtual Box on which I am running Linux-Ubuntu, and in the Linux I have a web application running in tomcat(localhost:8080). I want to access this application from my native Windows machine. Is it possible? If yes how?

Thanks in advance.

share|improve this question

migrated from stackoverflow.com Jan 30 '13 at 8:54

This question came from our site for professional and enthusiast programmers.

Please, explain what, in this question, relates to programming. –  Steve Jan 24 '13 at 17:14
It will help my programming to be used practically. –  java_enthu Jan 24 '13 at 17:16
You don't mention any programming in the question, and the answer isn't likely to involve programming either. –  Mark Ransom Jan 24 '13 at 17:29

2 Answers 2

May be ssh can help? You can create connection and have native bash commandline for example. Putty is the most simple tool for it, imho http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

share|improve this answer

The same way as any other web application would be, via its address (name or ip). The fact its in a VM makes no difference to how you access.

So your first thing is to make sure your VM is properly connected to the rest of your network.

So you'll need to be checking/answering things like: Can you see your router/modem from your VM? Can you ping the host machine? Can the host ping the VM?

Most VM hosts automatically install the required networking stuff on the host (Windows probably bought up a driver install confirmation dialog when you first installed VirtualBox) to do this.

share|improve this answer

Your Answer


