• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Tomcat server that is only accessible within home network

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 71
PHP Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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


 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic