File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat server that is only accessible within home network

 
steven Hall
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 71
Linux PHP Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 37
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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


 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic