Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 86290 invoked from network); 3 Feb 2009 15:53:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Feb 2009 15:53:13 -0000 Received: (qmail 40127 invoked by uid 500); 3 Feb 2009 15:53:01 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 40094 invoked by uid 500); 3 Feb 2009 15:53:01 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 40073 invoked by uid 99); 3 Feb 2009 15:53:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Feb 2009 07:53:01 -0800 X-ASF-Spam-Status: No, hits=2.7 required=10.0 tests=SPF_NEUTRAL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 128.253.83.141 is neither permitted nor denied by domain of dns4@cornell.edu) Received: from [128.253.83.141] (HELO authusersmtp.mail.cornell.edu) (128.253.83.141) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Feb 2009 15:52:52 +0000 Received: from atlantis.calsnet.cornell.edu (atlantis.calsnet.cornell.edu [128.253.209.216]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.13.1/8.12.10) with ESMTP id n13FqTl4007096 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 3 Feb 2009 10:52:29 -0500 (EST) Message-ID: <4988678C.6010500@cornell.edu> Date: Tue, 03 Feb 2009 10:49:32 -0500 From: David Smith User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Able to access URL without port References: <24071.41.211.233.34.1233651444.squirrel@newwebmail.elitecore.com> In-Reply-To: <24071.41.211.233.34.1233651444.squirrel@newwebmail.elitecore.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org randhir.singh@elitecore.com wrote: > I had a doubt of something I had heard with regard to the access of URL > possible without port number if apache is used in the environment. We have > our application running with JBOSS as the AS and tomcat as the web server. > My question is that is the URL, > > http://application-URL:10080 > > assuming tomcat is running on port 10080 can be accessed like > > http://application-URL > > without the port number if apache is also installed. > > I hope, my question is clear. > > Please, help in solving the doubt. > > regards > > > Small knit here -- when you omit the port number in your URLs, the browser assumes port 80 for http and 443 for https protocols. Most modern browsers will also assume http protocol if you omit the http:// from the beginning of your urls as well. You could configure a connector in tomcat to listen on port 80 and eliminate Apache HTTPd all together if you like. --David --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org