我正在 tomcat 7.0 中的 server.xml 中进行以下更改
<Connector port="${httpPort}" protocol="org.apache.coyote.http11.Http11Protocol"
maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" />
我需要在 httpPort 之前附加 1 ,例如 1${httpPort} ,这样对于 8080,https 端口将是 18080,我尝试了以下方法,它不起作用,请帮助。谢谢!
端口="1${httpPort}"
端口=1"${httpPort}"
端口="1+${httpPort}"