Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 27887 invoked from network); 19 Nov 2004 00:50:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 19 Nov 2004 00:50:19 -0000 Received: (qmail 1002 invoked by uid 500); 19 Nov 2004 00:49:46 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 986 invoked by uid 500); 19 Nov 2004 00:49:46 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 965 invoked by uid 99); 19 Nov 2004 00:49:45 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [202.157.136.192] (HELO mail.mcsb.com) (202.157.136.192) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 18 Nov 2004 16:49:45 -0800 Received: (qmail 25598 invoked by uid 507); 19 Nov 2004 00:52:30 -0000 Message-ID: <20041119005230.25597.qmail@FileServer> References: In-Reply-To: From: vignesh@mymcsb.com To: "Tomcat Users List" Subject: Re: Strange Problem!: Connection time out while using URLConnection connect method Date: Fri, 19 Nov 2004 00:52:30 GMT Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, The I am running tomcat and the client program in the same subnet and so there is no such issue. Thanks. ---------- Original Message ---------- On 18 Nov 2004, 06:12:54 PM, birendar.waldiya@tcs.com writes: > > Is this somthing related to external Ip and Internal ip > if you are behind the firewall... > > Birendar Singh Waldiya > Tata Consultancy Services Limited > Mailto: birendar.waldiya@tcs.com > Website: http://www.tcs.com > > > > vignesh@mymcsb.com > 11/18/2004 03:06 PM > > Please respond to > "Tomcat Users List" > > > To > tomcat-user@jakarta.apache.org > cc > > Subject > Strange Problem!: Connection time out while using URLConnection connect > method > > > > > > > Hi All, > > I am posting this again. Please help. > > Thanks. > > > ----------Forwarded message ---------- > References: <1100682936.83762.ezmlm@jakarta.apache.org> > From: vignesh@mymcsb.com > To: tomcat-user@jakarta.apache.org > Subject: Strange Problem!: Connection time out while using URLConnection > connect method > Date: Wed, 17 Nov 2004 09:30:17 GMT > Mime-Version: 1.0 > Content-Type: text/plain; charset="us-ascii" > Content-Transfer-Encoding: 7bit > > Hi All, > > I am facing a very strange problem. When I run tomcat4.1.27 in command > prompt, I am able to connect and call a servlet deployed in it from > another java program running on another machine using using URLConnection > connect method. > > But when I run tomcat server from windows services, the client program is > not able to call the deployed servlet and throws the below exception at > the line where connect method is invoked. > > java.net.ConnectException: Connection timed out: connect > > > Has anyone else faced this strange problem. The only difference is in the > way tomcat server has been started. When started in command prompt there > are no problems in connecting to the server and calling the servlet > deployed in it! I need to badly get this working when tomcat is started as > a windows service. > > Thanks in Advance. > > Vignesh. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > > ForwardSourceID:NT00004412 > > > DISCLAIMER: The information contained in this message is intended only and solely for the addressed individual or entity indicated in this message and for the exclusive use of the said addressed individual or entity indicated in this message (or responsible for delivery of the message to such person) and may contain legally privileged and confidential information belonging to Tata Consultancy Services Limited. It must not be printed, read, copied, disclosed, forwarded, distributed or used (in whatsoever manner) by any person other than the addressee. Unauthorized use, disclosure or copying is strictly prohibited and may constitute unlawful act and can possibly attract legal action, civil and/or criminal. The contents of this message need not necessarily reflect or endorse the views of Tata Consultancy Services limited on any subject matter. > Any action taken or omitted to be taken based on this message is entirely at your risk and neither the originator of this message nor Tata Consultancy Services Limited takes any responsibility or liability towards the same. Opinions, conclusions and any other information contained in this message that do not relate to the official business of Tata Consultancy Services limited shall be understood as neither given nor endorsed by Tata Consultancy Services Limited or any affiliate of Tata Consultancy Services Limited. If you have received this message in error, you should destroy this message and may please notify the sender by e-mail. --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org