反馈已提交
网络繁忙
6.0
/
Multiple projects may be deployed on one server at the same time. Their default port numbers may conflict with each other.
To ensure that each project can operate and run properly, you need to check whether ports are occupied and modify port numbers before FineBI startup as admin.
The default occupied ports vary depending on deployment methods and containers. The following table describes the details.
Direct deployment in Windows/Linux systems
37799
Deployment on the Tomcat server
8080
Deployment on the WebLogic server
7001
Deployment on the WildFly (JBoss) server
Deployment on the WebSphere server
9060
Deployment on the Resin server
Deployment on the JBoss server
Check whether the default port is occupied.
Method 1: lsof
Command: losf -i:{Port number}
Description: used to check whether a specified port is occupied.
Example: Run the lsof -i:8080 command to check whether port 8080 is occupied. As shown in the following figure, port 8080 is occupied by a Java process whose PID is 22936.
Method 2: netstat
Command: netstat -tunlp|grep {Port number}
Example: Run the netstat -tunlp|grep 8080 command to check whether port 8080 is occupied. As shown in the following figure, port 8080 is occupied by a Java process whose PID is 22936.
Command: netstat -aon|findstr "{Port number}"
Example: Run the netstat -aon|findstr "8075" command to check whether port 8075 is occupied. As shown in the following figure, PIDs of processes occupying ports are listed in the last column. You can check the application corresponding to the required PID in Task Manager.
1. Closing the FineBI Project
Ensure that FineBI is closed before modifying the port.
2. Modifying the Configuration File
Open the server.xml file under the FineBI installation directory %FineBI%\server\conf through Notepad or code editors, as shown in the following figure.
Modify the value of Connector port and save the file.
3. Restarting the FineBI Project
Restart FineBI and access it through http://IP address:New port number/webroot/decision.
Open the server.xml file under the Tomcat installation directory %tomcat_home%\conf through Notepad or code editors, as shown in the following figure.
Modifying the HTTP Port
The HTTP port is one processing HTTP requests, which can be used to create HTTP connection, such as browser access.
The default HTTP port number is 8080.
Modifying the SHUTDOWN Port
The SHUTDOWN port is one accepting the SHUTDOWN command, which can be used to disable the server.
If multiple Tomcats exist on the same server, you need to modify the SHUTDOWN port (default port number: 8005).
Modifying the AJP Port
The AJP port is a processing port accepting AJP, which can be used to listen on requests from other servers.
If multiple Tomcats exist on the same server, you need to modify the AJP port (default port number: 8009).
3. Restarting the Tomcat Server
Restart the Tomcat server and access FineBI through http://IP address:New port number/webroot/decision.
2. Accessing the WebLogic Console as Admin
Start the domain service.
Access the WebLogic console through browser addresses, such as http://<WebLogicServer>:7001/console.
Enter admin's username and password to log in.
3. Modifying the Listening Port
Choose Environment > Servers in Domain Structure on the right of the console. Select the server whose port needs to be modified.
Modify the listening port (specified by Listen Port). The default port number is 7001. Click Save, as shown in the following figure.
4. Restarting the WebLogic Server
Restart the WebLogic server and access FineBI through http://IP address:New port number/webroot/decision.
2. Accessing the WebSphere Console as Admin
Access the WebSphere console through browser addresses, such as http://<WebSphereServer>:9060/ibm/console.
3. Modifying the WC_defaulthost Port
Choose Servers > WebSphere application servers in the navigation bar on the left of the console. Select the server whose port needs to be modified.
Choose Communications > Ports and click WC_defaulthost, as shown in the following figure.
Set the port number as needed in the pop-up configuration window and then click Apply, as shown in the following figure.
4. Configuring a Virtual Host
Choose Environment > Virtual hosts in the navigation bar on the left of the console. Select default_host in the resource list.
Click Host Aliases under Additional Properties and then click New..., as shown in the following figure.
Set Host Name and Port to required values, for example, * and 80, respectively.
5. Restarting the WebSphere Server
Restart the WebSphere server and access FineBI through http://IP address:New port number/webroot/decision.
2. Modifying the Port Number
Modify the port number in the standalone.xml file under the %JBoss_HOME%\standalone\configuration directory, as shown in the following figure.
3. Restarting the JBoss Server
Double-click %JBoss_HOME%\bin\standalone.bat to restart WildFly.
Tomcat port modification may be invalid or not take effect. You can follow the steps below for troubleshooting:
1. Check whether the port is occupied.
2. Modify the startup.bat file under the %Tomcat_HOME%\bin directory.
Run the rem command turn the line "%CATALINA_HOME%" == "" goto gotHome into a comment, as shown in the following figure.
Save the file. The port modification will take effect after Tomcat server restart.
フィードバック
鼠标选中内容,快速反馈问题
鼠标选中存在疑惑的内容,即可快速反馈问题,我们将会跟进处理。
不再提示
10s后关闭