RE: Tomcat works for localhost, but won't work for the local intranet..
Also, if I try to run startup.sh instead of Tomcat5.sh (jsvc script), I get the same problem: localhost is working, but if I try to connect from another computer I get Page cannot be displayed _ From: Ivan Jouikov [mailto:[EMAIL PROTECTED] Sent: Friday, July 09, 2004 5:19 PM To: 'Tomcat Users List' Subject: Tomcat works for localhost, but won't work for the local intranet.. I am running tomcat 5.0.27 on Linux RH 9.0, and I have a little problem. I am using jsvc to launch Tomcat standalone as Tomcat5 user. Everything seems to work fine, when I connect to localhost or 127.0.0.1 from that same computer. However, if I try to connect to Tomcat from my local intranet, I get Page Cannot be Displayed after a long wait. If I try to ping that computer, everything works just fine: ping 192.168.0.33.. If I try to run MySQL client for that computer, everything works fine But if I type in my browser HYPERLINK http://192.168.0.33/http://192.168.0.33/ I get page not found. Oh yeah, my Tomcat is set up to work standalone, and the only connector that it has is an HTTP connector on port 80. Does anyone know what could be wrong? _ Best Regards, Ivan V. Jouikov (206) 228-6670 HYPERLINK http://www.ablogic.net/; --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004 --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004
Re: Tomcat works for localhost, but won't work for the local intranet..
Ivan, do you have a firewall in place on the linux box? If so, is port 80 open? -Robert Ivan Jouikov wrote: I am running tomcat 5.0.27 on Linux RH 9.0, and I have a little problem. I am using jsvc to launch Tomcat standalone as Tomcat5 user. Everything seems to work fine, when I connect to localhost or 127.0.0.1 from that same computer. However, if I try to connect to Tomcat from my local intranet, I get Page Cannot be Displayed after a long wait. If I try to ping that computer, everything works just fine: ping 192.168.0.33.. If I try to run MySQL client for that computer, everything works fine But if I type in my browser http://192.168.0.33/ I get page not found. Oh yeah, my Tomcat is set up to work standalone, and the only connector that it has is an HTTP connector on port 80. Does anyone know what could be wrong? Best Regards, Ivan V. Jouikov (206) 228-6670 http://www.ablogic.net/ --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004
Re: Tomcat works for localhost, but won't work for the local intranet..
RedHat's defualt firewall rules? On 7/9/2004 5:18 PM, Ivan Jouikov wrote: I am running tomcat 5.0.27 on Linux RH 9.0, and I have a little problem. I am using jsvc to launch Tomcat standalone as Tomcat5 user. Everything seems to work fine, when I connect to localhost or 127.0.0.1 from that same computer. However, if I try to connect to Tomcat from my local intranet, I get Page Cannot be Displayed after a long wait. If I try to ping that computer, everything works just fine: ping 192.168.0.33.. If I try to run MySQL client for that computer, everything works fine But if I type in my browser http://192.168.0.33/ I get page not found. Oh yeah, my Tomcat is set up to work standalone, and the only connector that it has is an HTTP connector on port 80. Does anyone know what could be wrong? Best Regards, Ivan V. Jouikov (206) 228-6670 http://www.ablogic.net/ --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat works for localhost, but won't work for the local intranet..
I am pretty sure I don't because about 4 months ago I had no problem using tomcat from this computer... Although I do remember screweing around with iptables. Lemme see what's up in there, maybe that could be the problem... -Original Message- From: Robert F. Hall [mailto:[EMAIL PROTECTED] Sent: Friday, July 09, 2004 5:25 PM To: Tomcat Users List Subject: Re: Tomcat works for localhost, but won't work for the local intranet.. Ivan, do you have a firewall in place on the linux box? If so, is port 80 open? -Robert Ivan Jouikov wrote: I am running tomcat 5.0.27 on Linux RH 9.0, and I have a little problem. I am using jsvc to launch Tomcat standalone as Tomcat5 user. Everything seems to work fine, when I connect to localhost or 127.0.0.1 from that same computer. However, if I try to connect to Tomcat from my local intranet, I get Page Cannot be Displayed after a long wait. If I try to ping that computer, everything works just fine: ping 192.168.0.33.. If I try to run MySQL client for that computer, everything works fine But if I type in my browser http://192.168.0.33/ I get page not found. Oh yeah, my Tomcat is set up to work standalone, and the only connector that it has is an HTTP connector on port 80. Does anyone know what could be wrong? Best Regards, Ivan V. Jouikov (206) 228-6670 http://www.ablogic.net/ --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004 --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat works for localhost, but won't work for the local intranet..
Here are the contents of my /etc/sysconfig/iptables: # Firewall configuration written by lokkit # Manual customization of this file is not recommended. # Note: ifup-post will punch the current nameservers through the # firewall; such entries will *not* be listed here. *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] :RH-Lokkit-0-50-INPUT - [0:0] -A INPUT -j RH-Lokkit-0-50-INPUT -A FORWARD -j RH-Lokkit-0-50-INPUT -A RH-Lokkit-0-50-INPUT -i lo -j ACCEPT -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 0:1023 --syn -j REJECT -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 2049 --syn -j REJECT -A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 0:1023 -j REJECT -A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 2049 -j REJECT -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 6000:6009 --syn -j REJECT -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 7100 --syn -j REJECT COMMIT I am not that good with iptables, but it seems to me that the line -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 0:1023 --syn -j REJECT Blocks all ports from 0 to 1023 for TCP/IP... I don't recall putting that there, but is that what it really does? And if it is, how can I make it so that port 80 is available? -Original Message- From: Dennis Dai [mailto:[EMAIL PROTECTED] Sent: Friday, July 09, 2004 5:24 PM To: Tomcat Users List Subject: Re: Tomcat works for localhost, but won't work for the local intranet.. RedHat's defualt firewall rules? On 7/9/2004 5:18 PM, Ivan Jouikov wrote: I am running tomcat 5.0.27 on Linux RH 9.0, and I have a little problem. I am using jsvc to launch Tomcat standalone as Tomcat5 user. Everything seems to work fine, when I connect to localhost or 127.0.0.1 from that same computer. However, if I try to connect to Tomcat from my local intranet, I get Page Cannot be Displayed after a long wait. If I try to ping that computer, everything works just fine: ping 192.168.0.33.. If I try to run MySQL client for that computer, everything works fine But if I type in my browser http://192.168.0.33/ I get page not found. Oh yeah, my Tomcat is set up to work standalone, and the only connector that it has is an HTTP connector on port 80. Does anyone know what could be wrong? Best Regards, Ivan V. Jouikov (206) 228-6670 http://www.ablogic.net/ --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat works for localhost, but won't work for the local intranet..
On 7/9/2004 5:45 PM, Ivan Jouikov wrote: ... I am not that good with iptables, but it seems to me that the line -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 0:1023 --syn -j REJECT Blocks all ports from 0 to 1023 for TCP/IP... I don't recall putting that there, but is that what it really does? And if it is, how can I make it so that port 80 is available? Just add an ACCEPT line above it: -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 80 --syn -j ACCEPT then reload the rule (/etc/init.d/iptables restart). Dennis - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat works for localhost, but won't work for the local intranet..
Have you run lokkit to see how it displays this info? # Firewall configuration written by lokkit # Manual customization of this file is not recommended. Ivan Jouikov wrote: Here are the contents of my /etc/sysconfig/iptables: # Firewall configuration written by lokkit # Manual customization of this file is not recommended. # Note: ifup-post will punch the current nameservers through the # firewall; such entries will *not* be listed here. *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] :RH-Lokkit-0-50-INPUT - [0:0] -A INPUT -j RH-Lokkit-0-50-INPUT -A FORWARD -j RH-Lokkit-0-50-INPUT -A RH-Lokkit-0-50-INPUT -i lo -j ACCEPT -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 0:1023 --syn -j REJECT -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 2049 --syn -j REJECT -A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 0:1023 -j REJECT -A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 2049 -j REJECT -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 6000:6009 --syn -j REJECT -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 7100 --syn -j REJECT COMMIT I am not that good with iptables, but it seems to me that the line -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 0:1023 --syn -j REJECT Blocks all ports from 0 to 1023 for TCP/IP... I don't recall putting that there, but is that what it really does? And if it is, how can I make it so that port 80 is available? -Original Message- From: Dennis Dai [mailto:[EMAIL PROTECTED] Sent: Friday, July 09, 2004 5:24 PM To: Tomcat Users List Subject: Re: Tomcat works for localhost, but won't work for the local intranet.. RedHat's defualt firewall rules? On 7/9/2004 5:18 PM, Ivan Jouikov wrote: I am running tomcat 5.0.27 on Linux RH 9.0, and I have a little problem. I am using jsvc to launch Tomcat standalone as Tomcat5 user. Everything seems to work fine, when I connect to localhost or 127.0.0.1 from that same computer. However, if I try to connect to Tomcat from my local intranet, I get Page Cannot be Displayed after a long wait. If I try to ping that computer, everything works just fine: ping 192.168.0.33.. If I try to run MySQL client for that computer, everything works fine But if I type in my browser http://192.168.0.33/ I get page not found. Oh yeah, my Tomcat is set up to work standalone, and the only connector that it has is an HTTP connector on port 80. Does anyone know what could be wrong? Best Regards, Ivan V. Jouikov (206) 228-6670 http://www.ablogic.net/ --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat works for localhost, but won't work for the local intranet..
Weee it does work! Thanks! So I was right on the assumption that that entry block all ports below 1023 from accessing my computer? Im gonna go read some info about iptables :) -Original Message- From: Dennis Dai [mailto:[EMAIL PROTECTED] Sent: Friday, July 09, 2004 5:57 PM To: Tomcat Users List Subject: Re: Tomcat works for localhost, but won't work for the local intranet.. On 7/9/2004 5:45 PM, Ivan Jouikov wrote: ... I am not that good with iptables, but it seems to me that the line -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 0:1023 --syn -j REJECT Blocks all ports from 0 to 1023 for TCP/IP... I don't recall putting that there, but is that what it really does? And if it is, how can I make it so that port 80 is available? Just add an ACCEPT line above it: -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 80 --syn -j ACCEPT then reload the rule (/etc/init.d/iptables restart). Dennis - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat works for localhost, but won't work for the local intranet..
Redhat also comes with a handy gui called Security Level (or something) to administer the firewall. Jeff Birt -Original Message- From: Robert F. Hall [mailto:[EMAIL PROTECTED] Sent: Friday, July 09, 2004 7:25 PM To: Tomcat Users List Subject: Re: Tomcat works for localhost, but won't work for the local intranet.. Ivan, do you have a firewall in place on the linux box? If so, is port 80 open? -Robert Ivan Jouikov wrote: I am running tomcat 5.0.27 on Linux RH 9.0, and I have a little problem. I am using jsvc to launch Tomcat standalone as Tomcat5 user. Everything seems to work fine, when I connect to localhost or 127.0.0.1 from that same computer. However, if I try to connect to Tomcat from my local intranet, I get Page Cannot be Displayed after a long wait. If I try to ping that computer, everything works just fine: ping 192.168.0.33.. If I try to run MySQL client for that computer, everything works fine... But if I type in my browser http://192.168.0.33/ I get page not found. Oh yeah, my Tomcat is set up to work standalone, and the only connector that it has is an HTTP connector on port 80. Does anyone know what could be wrong? Best Regards, Ivan V. Jouikov (206) 228-6670 http://www.ablogic.net/ --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]