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.
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
posted 16 years ago
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?