Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 98171 invoked from network); 14 Sep 2004 10:24:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 14 Sep 2004 10:24:01 -0000 Received: (qmail 69089 invoked by uid 500); 14 Sep 2004 10:23:31 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 69071 invoked by uid 500); 14 Sep 2004 10:23:31 -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 69057 invoked by uid 99); 14 Sep 2004 10:23:30 -0000 X-ASF-Spam-Status: No, hits=1.6 required=10.0 tests=RCVD_IN_NJABL_DUL X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [80.33.207.173] (HELO mail.olidformacion.com) (80.33.207.173) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 14 Sep 2004 03:23:29 -0700 Received: from acrab.olidformacion.com ([192.168.1.254]) by mail.olidformacion.com (8.12.3/8.12.3/Debian-6.6) with ESMTP id i8EAIkUF002542 for ; Tue, 14 Sep 2004 12:18:47 +0200 From: Raul Portales Fernandez To: tomcat-user@jakarta.apache.org Subject: Access Problem Date: Tue, 14 Sep 2004 12:22:05 +0200 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200409141222.05098.raulpor@olidformacion.com> X-Virus-Scanned: clamd / ClamAV version 0.75-1, clamav-milter version 0.75c on hadar X-Virus-Status: Clean X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello: I have a very strange problem with tomcat, I have revised te online doc, the FAQ, and googled it, but found nothing. Here is it: I have a webapp installed by a .war file, this app works fine when I acces it by localnet using: http://myinternalip:myport/myapp/ The whole app works fine. I also have Port Forwarding set in the router, but when I try to access it form an external IP, using: http://myexternalip:myport/myapp/ it does not work, and I get the following error: javax.servlet.ServletException: Exception opening resource http://myexternalip:myport/myapp/somedir/somepage.jsp;jsessionid=someid: java.net.ConnectException: Connection refused org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:862) org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:795) org.apache.jsp.index_jsp._jspService(index_jsp.java:238) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133) javax.servlet.http.HttpServlet.service(HttpServlet.java:856) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248) javax.servlet.http.HttpServlet.service(HttpServlet.java:856) More strange even is that if you try to access to the URI that gives the problem putting it in the addess bar of the browser: http://myexternalip:myport/myapp/somedir/somepage.jsp;jsessionid=someid: It works!, but obviously just for this page, wich is included in the index page. Moreover, there are other applications installed in the same tomcat, and they work from local and external networks. Has anyone any idea of the possible source of the problem. I'm using Tomcat 5.0.14 in a FreeBSD box. The same error happens in a W2k box with 5.0.16 Thank's in advance. -- Un saludo, por ejemplo, buenos dias: --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org