Accessing a (Local) Tomcat Server through Microsoft Virtual PC

I am attempting to access my Tomcat server on my "real" PC through a browser on a (locally installed) Virtual PC.  I've tried using both the "real" computer name and ip address but with no success:

http://computername:8080
http://192.168.x.xxx:8080

Do I need to change some settings within the VPC in order for it to "see" tomcat?  I pinged my real ip address through the VPC prompt and it does see the ip, but it does not see the 8080 port.  Thanks for any help you can give!

Gil
gilpiliAsked:
Who is Participating?
 
ee_autoConnect With a Mentor Commented:
Question PAQ'd, 125 points refunded, and stored in the solution database.
0
 
Gary CaseRetiredCommented:
Your virtual machine should be set to use your "real" network adapter and should otherwise be set up like any other machine would be (dynamic IP via DHCP, etc.).   Your real system should be connected to a router or switch so packets from the virtual machine have a path to the real machine -- is that the case here??

If you want to use this without an externally connected switch or router, you'll need to install the Microsoft Loopback Adapter on the "real" machine (host) and change the settings for your virtual machine to use that adapter instead of the "real" network adapter.   I described that process in this recent question (this link is to my answer):  http://www.experts-exchange.com/Networking/Misc/Q_24361255.html#24252829
0
 
gilpiliAuthor Commented:
The VPC is using the same adapter as the real PC.  I am using a cable modem which is attached to  a D-LInk router (phone) which is in turn attached to a Netgear wireless router, which is in turn attached to the PC.  Should I be configuring one of the routers -- the wireless since it is the one directly attached to the PC?  Thanks for your help!

Gil
0
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

 
Gary CaseRetiredCommented:
Which router is your DHCP server?

What is the IP on the "real" PC and on the virtual PC?

How EXACTLY do you access the Tomcat server from another "real" PC on your network?   The virtual PC should work exactly the same way.   Look carefully at how you've got them each configured & you'll probably "see" what the issue is.   Just remember that the virtual PC is, for all intents & purposes, just another PC on your network.
0
 
gilpiliAuthor Commented:
I actually found a better solution than to set up multiple virtual PCs -- these were mainly there to test other instances of IE, but I found an IE tester that works well for what I need.

http://www.my-debugbar.com/wiki/IETester/HomePage.

I have kind of a complicated set up, so this is simpler all around.
Gil
0
 
Gary CaseRetiredCommented:
One more example of why it's good to include as much detail as possible in your question ==> I would have suggested IE Tester in my first comment if you'd described what you were actually trying to do.   It's a much better solution for checking multiple versions than using a dedicated VM just for each version of IE.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.