Another good reason to change to 80/443 is the following issue:

http://www.mail-archive.com/[email protected]/msg73342.html
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13861

If you use a security-constraint confidential to force ssl you might
have a problem with IE when using 8080/8443.
Actually "confidential" should force the browser to reload a resource if
you accessed it with http instead https. For Mozilla/Opera this works
fine for me, with Internet Explorer the reload stalls and the browser
stops loading. According to other posting you can fix it when using
80/443.

I guess this is due to a url rewriting problem with IE. Maybe IE just
changes the protocol from http to https instead of taking the port
numbers into account aswell which can't work with non-standard ports...?
The problem with IE only occurs when using non-standard ports such as
8080/8443 for http/https. If you use 80/443 you can avoid this IE bug in
connection with the confidential settings. Then you don't need to
hardcode absolute links.

Don't know if you need that, but keep it in mind, if you use security
constraints. 
The same problem occurs when using Apache in front of Tomcat. Tested
both. IE will behave the same, so run Apache or Tomcat on 80/443 and
don't forget to the the redirect ports in either the http1/1 connector
and/or the Ajp-Connector.

Mech

P.S. Don't use Tomat 4.1.12 with SSL, upgrade to 4.1.14. Minor? ssl
warning bug: 
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14164


> -----Original Message-----
> From: Peter Lee [mailto:[EMAIL PROTECTED]] 
> Sent: Mittwoch, 20. November 2002 12:04
> To: Tomcat Users List
> Subject: HTTP and SSL Connector port problems
> 
> 
> Is there any particular good reason to change HTTP port from 
> 8080 to 80 and the SSL connector port from 8443 to 443? 
> They causing problems for me. Some people are suggesting that 
> we should 
> change the ports.
> 
> I changed the HTTP Connector port from 8080 to 80
> Then I uncommented the SSL Connector section and changed the 
> SSL port from 8443 to 443
> These are supposed to be well-known ports. But how come after I 
> made the changes, Tomcat just refused to 
> start? I am on the Win2000 platform.
> 
> <!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 
> --> <Connector 
> className="org.apache.coyote.tomcat4.CoyoteConnector"
>        port="80" minProcessors="5" maxProcessors="75"
>        enableLookups="true" redirectPort="443"
>        acceptCount="10" debug="0" connectionTimeout="20000"
>        useURIValidationHack="false" />
> 
> 
> 
> <!-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 --> 
> <Connector 
> className="org.apache.coyote.tomcat4.CoyoteConnector"
>        port="443" minProcessors="5" maxProcessors="75"
>        enableLookups="true"
>        acceptCount="10" debug="0" scheme="https" secure="true"
>        useURIValidationHack="false">
> <Factory className=
>        "org.apache.coyote.tomcat4.CoyoteServerSocketFactory"
>        clientAuth="false" protocol="TLS"/>
> </Connector>
> 
>  
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:tomcat-user-> [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]>

Reply via email to