aspose file tools*
The moose likes Tomcat and the fly likes Tomcat server that is only accessible within home network Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat server that is only accessible within home network" Watch "Tomcat server that is only accessible within home network" New topic
Author

Tomcat server that is only accessible within home network

steven Hall
Greenhorn

Joined: May 08, 2012
Posts: 1
Hello,

How do I setup Tomcat so that its only accessible within a home network. Also,I would like the other other computers within the home network to be able to access the internet.

Steven
Nick Charles
Ranch Hand

Joined: Oct 09, 2011
Posts: 71

The best way to do this is to place a router between you and the internet. I have a wireless router connected to my cable modem, and all of my computers at home connect to the router. The router has a built-in firewall that by default allows outgoing traffic (all computers can access the internet) but disallows all incoming traffic (noone outside my home network can see any of my computers). I run Tomcat and Apache on some of my computers and can access them from others, such as from my tablet while I'm watching TV.

Notice that there is no setup or configuration whatsoever with Tomcat.
tanuj khare
author
Ranch Hand

Joined: May 02, 2012
Posts: 37
Hi Steven,

Here are the steps you can follow:-
1. Connect your system through a network device
2. Find out the Ip of your system where tomcat is hosted
a. Run the command ipconfig(windows) or Ifconfig (linux) in command prompt . it display the Ip address of the system
3. once you know the IP address, browse http://ip:8080 from your tablet or handheld device



Regards, Tanuj Khare
author of Apache Tomcat 7 Essentials
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat server that is only accessible within home network