SUMMARY
In cases where it is not possible to log into the Flix Client, it may be that the port that Flix communicates through is not open on the firewall of the Flix server. This article explains the process of opening a port on your firewall to enable communications to and from the Flix 6 Server.
MORE INFORMATION
Below are steps on how to add a firewall rule on CentOS s7 and macOS to open the relevant port, therefore enabling Flix communications:
CentOS 7:
Open the terminal and enter the following command:
sudo firewall-cmd --zone=public --add-port=[PORT]/tcp --permanent
Substitute [PORT] to match what is set for your Flix configuration.
NOTE: The default ports are listed later in this article.
macOS:
1. Open the terminal and enter the following command:
sudo nano /etc/pf.conf
2. Add the following to the end of the file that opens:
pass in proto tcp from any to any port [PORT]
Substitute [PORT] to match what is set for your Flix configuration.
NOTE: The default options are listed later in this article.
3. Press Ctrl + X and save out the file.
4. Enter the following command back in the terminal:
sudo pfctl -vnf /etc/pf.conf
5. Reboot the machine for the change to take effect.
Flix Default Ports and Protocol
By default, the Flix client connects to the Flix server on port 8080 and transfers files over port 9091.
If this has been changed in your configuration, the ports that Flix will be using can be found in your config.yml
file, defined by the http_port parameter for the Flix client connection and client_transfer_port for the transfer connection. The config.yml
file will be located in the same directory as your flix_server
executable.
Using this, the command to run on CentOS 7 to add a firewall rule and open the port for Flix 6 communications, becomes:
sudo firewall-cmd --zone=public --add-port=8080/tcp --permanent
sudo firewall-cmd --zone=public --add-port=9091/tcp --permanent
If you have multiple Flix servers, they communicate with each other on port 9876.
To open this port to every system (although only connections from other Flix servers are required), you can use the following command:
sudo firewall-cmd --zone=public --add-port=9876/tcp --permanent
The default port for MySQL is 3306.
You need to open it only on the MySQL server. You can do this with the following command:
sudo firewall-cmd --zone=public --add-port=3306/tcp --permanent
FURTHER HELP
If you are still seeing any authentication issues after performing the steps outlined in this article, then please open a Support ticket and let us know the issue you are encountering and the troubleshooting steps taken so far.
You can learn more about the Flix architecture from the Flix Server Technical Overview
For more information on how to open a Support ticket, please refer to the Q100064: How to raise a support ticket article.
We're sorry to hear that
Please tell us why