• 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

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


 
I will suppress my every urge. But not this shameless plug:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic