using ip address instead of localhost
Hi, I just setup tomcat and I'm having problems getting to the index.jsp page if I use the ip address of the machine instead of localhost. I am behind a firewall at work, but I would think that you should be able to access it within the firewall. I've also tried this at home with my DSL and everything works fine. Anything obvious I missing? Thanks fo the help in advance. Li -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: using ip address instead of localhost
If you are trying to access the IP from within your firewall, try using an internal network IP address, instead of an external IP. It is often the case that trying to make a request for your external IP from an Internal machine wont work... (the theory being that you should not need to do this because you should have an internal IP address for the machine you are trying to use).. Hope that helps. Mehdi Nejad - Senior Developer [EMAIL PROTECTED] ~~ Kao Li-LIKAO1 LIKAO1@motorola.To: 'Tomcat Users List' [EMAIL PROTECTED] com cc: Subject: using ip address instead of localhost 17/12/2002 16:28 Please respond to Tomcat Users List Hi, I just setup tomcat and I'm having problems getting to the index.jsp page if I use the ip address of the machine instead of localhost. I am behind a firewall at work, but I would think that you should be able to access it within the firewall. I've also tried this at home with my DSL and everything works fine. Anything obvious I missing? Thanks fo the help in advance. Li -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: using ip address instead of localhost
Actually, I am using an internal network IP address. I am actually trying to access the page on the same machine as the server. The localhost works fine and hostname of the machine also works, but not the ip address. Do you think DNS has anything to do with it? Li -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 17, 2002 10:44 AM To: Tomcat Users List Subject: Re: using ip address instead of localhost If you are trying to access the IP from within your firewall, try using an internal network IP address, instead of an external IP. It is often the case that trying to make a request for your external IP from an Internal machine wont work... (the theory being that you should not need to do this because you should have an internal IP address for the machine you are trying to use).. Hope that helps. Mehdi Nejad - Senior Developer [EMAIL PROTECTED] ~~ Kao Li-LIKAO1 LIKAO1@motorola.To: 'Tomcat Users List' [EMAIL PROTECTED] com cc: Subject: using ip address instead of localhost 17/12/2002 16:28 Please respond to Tomcat Users List Hi, I just setup tomcat and I'm having problems getting to the index.jsp page if I use the ip address of the machine instead of localhost. I am behind a firewall at work, but I would think that you should be able to access it within the firewall. I've also tried this at home with my DSL and everything works fine. Anything obvious I missing? Thanks fo the help in advance. Li -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: using ip address instead of localhost
I've not come across that then, I take it http://12.0.0.1 works fine ? I would sugest that dns isn't to blame, your not trying to resolve a name, its running on localhost. you probably already did this, but type ipconfig on the command line and make sure that you have the correct ip, the request from your browser shouldn't leave your server at all.. good luck. mehdi Kao Li-LIKAO1 LIKAO1@motorola.To: 'Tomcat Users List' [EMAIL PROTECTED] com cc: Subject: RE: using ip address instead of localhost 17/12/2002 17:09 Please respond to Tomcat Users List Actually, I am using an internal network IP address. I am actually trying to access the page on the same machine as the server. The localhost works fine and hostname of the machine also works, but not the ip address. Do you think DNS has anything to do with it? Li -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 17, 2002 10:44 AM To: Tomcat Users List Subject: Re: using ip address instead of localhost If you are trying to access the IP from within your firewall, try using an internal network IP address, instead of an external IP. It is often the case that trying to make a request for your external IP from an Internal machine wont work... (the theory being that you should not need to do this because you should have an internal IP address for the machine you are trying to use).. Hope that helps. Mehdi Nejad - Senior Developer [EMAIL PROTECTED] ~~ Kao Li-LIKAO1 LIKAO1@motorola.To: 'Tomcat Users List' [EMAIL PROTECTED] com cc: Subject: using ip address instead of localhost 17/12/2002 16:28 Please respond to Tomcat Users List Hi, I just setup tomcat and I'm having problems getting to the index.jsp page if I use the ip address of the machine instead of localhost. I am behind a firewall at work, but I would think that you should be able to access it within the firewall. I've also tried this at home with my DSL and everything works fine. Anything obvious I missing? Thanks fo the help in advance. Li -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]