安装好tomacat后,输入 http://localhost:8080 .
https呢,需要道 tomcat/conf/server.xml增加
<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS"
keystoreFile="/Users/menchao/myCert/server.keystore" keystorePass="123456"/>
时间: 2024-11-16 14:59:13