Tomcat 默认使用8090、8015两个端口,两个端口被占用则无法正常启动/停止Tomcat服务。您可根据需要在配置文件中进行修改。
如果需要修改启动服务的默认端口,请修改Tomcat配置文件【SuperMap iServer产品目录】\conf\server.xml,如下:
<Connector port="8090" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8453"
executor="tomcatThreadPool"
enableLookups="false"
URIEncoding="utf-8"
compression="on"
compressionMinSize="2048"
compressableMimeType="text/html,text/xml,text/plain,text/javascript,application/xml,application/json,application/rjson"
/>
<Server port="8015" shutdown="SHUTDOWN">