• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 536
  • Last Modified:

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
0
gilpili
Asked:
gilpili
  • 3
  • 2
1 Solution
 
garycaseCommented:
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
 
garycaseCommented:
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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
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
 
garycaseCommented:
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
 
ee_autoCommented:
Question PAQ'd, 125 points refunded, and stored in the solution database.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now