I. Overview
1) A number of functions in the decision-making platform relies on WebSocket.
2) When the FineReport project is running, it will request connection to WebSocket. An error message as shown below will appear if the connection fails.
II. Solution using CentOS 7 as an Example
1. Open the port for WebSocket
If you deploy your FineReport project on one server (i.e. rather than a cluster), the default port for WebSocket are 38888, 39888 and 38889. You can try to open the ports one by one until you solve the problem.
|
2. Close the firewall
|
Note
You can set an inbound rule for Windows
If you deploy your project on a cloud server, chances are that the connection still fails even if you close the firewall. This is because the service provider does not authorize the ports, and you need to open the 3 ports in the management page of the cloud server.