SSL Requests are Not Redirected to the Correct Port
This issue is fixed in Confluence 2.80 and above, but the article remains for legacy instances and posterity.
症状
When users point their browser to https://localhost:8443, Confluence will show the login screen. However, when users point their browser to http://localhost:8080, Confluence shows a connection failed.
原因
The port in server.xml
is not configured properly.
回避策
- Open <confluence-install>/conf/server.xml.
Locate the following:
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="80" minProcessors="5" maxProcessors="75" enableLookups="false" redirectPort="8444"
および
<Connector port="8443" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false"
In this case, we can see that redirected port for Confluence is 8444 and the connector is set to 8443. Change the redirect port to 8443 in order to match the connector setting:
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="80" minProcessors="5" maxProcessors="75" enableLookups="false" redirectPort="8443"
ソリューション
最終更新日: 2016 年 2 月 26 日
Powered by Confluence and Scroll Viewport.