我们如何隐藏https的端口号? server.xml上是否有任何更改 我在server.xml中有以下代码
<Connector port="8443" maxHttpHeaderSize="8192" SSLEnabled="true"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" disableUploadTimeout="true" useBodyEncodingForURI="true"
acceptCount="100" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" keystoreFile="C:/Documents and Settings/tony/new_test.keystore" keypass="changeit" />
<Connector acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" port="80" redirectPort="8443" maxSpareThreads="75" maxThreads="150" minSpareThreads="25" >
</Connector>
<Connector port="8009" protocol="AJP/1.3" protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler" redirectPort="8443">
</Connector>
答案 0 :(得分:2)
端口在大多数浏览器中隐藏的唯一方法是它是https的标准端口,443。您可以将服务器设置为转发443到8443.