aspose file tools*
The moose likes Tomcat and the fly likes Hosting Tomcat from a subnetted network Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Hosting Tomcat from a subnetted network" Watch "Hosting Tomcat from a subnetted network" New topic
Author

Hosting Tomcat from a subnetted network

Timothy Sam
Ranch Hand

Joined: Sep 18, 2005
Posts: 746
Im dunno the term... But from my LAN, I had say 4 IP addresses... One of which shares the internet connection


1. 192.168.0.1 -- Has internet connection
2. 192.168.0.2
3. 192.168.0.3
4. 192.168.0.4


it would seem that I could only let internet users(from outside LAN) access the tomcat server from 192.168.0.1 and not the remaining three. How do I make the remaining three host their tomcat servers? Thanks!


SCJP 1.5
http://devpinoy.org/blogs/lamia/ - http://everypesocounts.com/
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12823
    
    5
Let me see if I understand the situation:

Your network has one Internet address which is mapped to one local network address but you want to host 4 different sites. Right?

I don't know how to redirect to the other local machines, but you can host multiple sites with a single Tomcat instance. I have 6 on mine right now.

What hardware sits between the Internet and your machine #1? A router? firewall? Nothing at all?

Bill
Timothy Sam
Ranch Hand

Joined: Sep 18, 2005
Posts: 746
Hi, thanks for your reply!


Your network has one Internet address which is mapped to one local network address but you want to host 4 different sites. Right?


right


I don't know how to redirect to the other local machines, but you can host multiple sites with a single Tomcat instance. I have 6 on mine right now.

Yes, I'm aware of that. What I need is to host other local machines...


What hardware sits between the Internet and your machine #1? A router? firewall? Nothing at all?


Machine #1 is connected to a router. I hope you could help me some more... Thanks a lot!

Bill
 
Don't get me started about those stupid light bulbs.
 
subject: Hosting Tomcat from a subnetted network