iPortal ports introduction |
By default, some HTTP ports are used by SuperMap iPortal. When you start the service, please make sure that these ports are not occupied and can pass through the firewall. Otherwise, this may cause some features unavailable.
The default ports used by iPortal include:
Port | Use | Can be modified or not? |
8190 | Enable Tomcat service | Yes |
8115 | Stop Tomcat service | Yes |
1947 | License service | No |
8195 | The proxy service port when the service proxy is enabled | Yes |
8192 | The global search port when the built-in global search service is started | Yes |
9210 | The HTTP protocol port of the built-in Elasticsearch when the built-in global search service is started | Yes |
9310 | The TCP protocol port of the built-in Elasticsearch when the built-in global search service is started | Yes |
The build-in Tomcat in iPortal defaults to use 8190 to start service, and use 8015 port to shut down service. If these ports are occupied by other processes, the service cannot be started or stopped. At this point, you can modify them in the configuration file.
To modify the default port for starting the service, open configuration file located in [SuperMap iPortal directory]\conf\server.xml as shown below:
<Connector port="8190" 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="8115" shutdown="SHUTDOWN">
After you enable Proxy function of registered services, 8195 will be used as the proxy service port, and the proxy GIS services will not be able to be accessed if the port is occupied. You can modify the configuration file [SuperMap iPortal directory]\conf\server.xml according to requirements.
<serviceProxy>
<enable>true</enable>
<port>8195</port>
<httpConnPoolInfo>
<maxTotal>100</maxTotal>
<defaultMaxPerRoute>10</defaultMaxPerRoute>
...
</serviceProxy>
By default, iPortal uses Elasticsearch as the global search engine. It takes port 8192 as the port of the global search service, and ports 9210 and 9310 serve as the HTTP and TCP protocol communication ports of Elasticsearch. You can modify it in the global search configuration file as needed. See: Global Search Configuration.
If you use MySQL/Oracle/PostgreSQL database to store portal information, monitoring information, security information, and so on, you also need to open the port that the database requires. The default port for MySQL is: 3306; for Oracle, 1521; for PostgreSQL, 5432. For database configuration, please refer to Database configuration
If you use server monitoring, you also need to open the RabbitMQ messaging server port. The default port is: 5672. You can modify in the configuration file rabbitmq-env.conf of RabbitQ according to requirements.