Welcome to Rapid Hosting's troubleshooting guide for resolving the "Unable to Connect to Your FiveM Server" issue.
Step 1: Ensure you have TxAdmin enabled with Onesync Legacy enabled. Access it in TxAdmin under Settings > FXServer.
If the problem persists, proceed to Step 2:
Step 2: Navigate to your Server.cfg and search for the following lines:
endpoint_add_tcp "0.0.0.0:PORTHERE"
endpoint_add_udp "0.0.0.0:PORTHERE"
If the port numbers don't match your primary allocation port (e.g., 30120 and 30121), it may cause a connection error. Change the port to match the primary allocation port, then restart your server via the Console.
Troubleshooting guide provided by Tanek J, CEO of Rapid Hosting (2023).