Mark thanks a lot for ur reply,
this is my setting for connector <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="8009" minProcessors="5" maxProcessors="150" enableLookups="true" redirectPort="8443" acceptCount="10" debug="0" connectionTimeout="0" useURIValidationHack="false" protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/> and i can't get anything from netstat -apn | grep 8443 ----- 原始邮件 ---- 发件人: Mark Thomas <[EMAIL PROTECTED]> 收件人: Tomcat Users List <users@tomcat.apache.org> 已发送: 2008/9/12(周五), 下午4:21:38 主题: Re: about Connector's attribute redirectPort 李征 wrote: > at tomcat official site, > > http://tomcat.apache.org/tomcat-4.1-doc/config/coyote.html > redirectPort is described as below > > If this Connector is supporting non-SSL requests, and a request is received > for which a matching <security-constraint> requires SSL transport, Catalina > will automatically redirect the request to the port number specified here. > The default value is 443. > > > but i still don't understand what redirectPort is used for. Which part of the description don't you understand? > and actually, tomcat doesn't listen on the port specified by redirectPort, > so how does the redirect work? If Tomcat isn't listening on that port with a secure connector it won't work. Mark --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ___________________________________________________________ 雅虎邮箱,您的终生邮箱! http://cn.mail.yahoo.com/