Use this procedure to modify the Openfire server settings for TCP connections. The procedures are different depending on the version of Openfire installed. For more details, refer to Openfire documentation.
For Openfire 3.x:
Navigate to Server Server Settings Security Settings.
In Server Connection Security, configure the Openfire server to use TCP:
ADDITIONAL INFORMATION:
Select the Custom check box.
In the Server Dialback field, select Available.
In the TLS method field, select Not Available.
The Accept self-signed certificates. Server dialback over TLS is now available check box is not relevant when TCP is used.
Click Save Settings.
For Openfire 4.x:
Navigate to Server Server Settings Server to Server Settings.
In the Plain-text (with STARTTLS) connections section, click Advanced Configuration.
In TCP Settings, select Enabled and enter Port 5269.