• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Jj Roberts
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Himai Minh
  • Carey Brown
  • salvin francis

Tomcat with Firewall

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Can you help me?
How can I set my computer (with firewall) to allow client computer access my tomcat server? without disabling the firewall, but by configurating the firewall.
I know you can set which application the server firewall to allow to 'let it out' but I do not know how to set (permission) outcoming communication to this server.
Thank you.
 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Depends on your firewall software.
I use ZoneAlarm which, allows me to open and close ports at will.
This is what I did to get moving:
Identified the loopback address (127.0.0.1) as a "Trusted Network Address" as well as my computername so that when I was connected to my ISP I could use that IP as well.
The ports I needed to open were 8080 and the shutdown port(8005) which are both TCP ports. I Also verifed that the JVM and browsers were allowed access in the trusted zone.
One setback... ZoneAlarm is not cookie friendly, so I had to enable all cookies to come from my server because behind the scenes that is how HttpSession works.
Hope that helps
 
Alex Leung
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply, I am using Norton personal firewall, I know there is an option for setting trusted computer (IP), but I can't see an option for setting port number. Do u know?
 
Ariel Valentin
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, I am not familiar with Norton.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic