How to Fix CURL Error Code 28 Timeout
When you encounter a CURL error code 28 in FiveM, it means your client is unable to establish a connection with the game server within the expected time limit. This is typically a network communication problem rather than an issue with FiveM itself.
Failed handshake to server 1.1.1.1:30120
Failed to connect to 1.1.1.1 port 30120
Timed out - CURL error code 28 (Timeout was reached)
Last updated: May 2025
Common Causes
- The server is unavailable
- The server's IP or connection details have changed
- You are using an outdated
cfx.re
URL - You entered an invalid IP address or hostname
- Your ISP or network is experiencing temporary issues
Solutions for Players
- Flush your DNS cache to resolve potential DNS resolution issues:
- 1Press WIN+X, then press I to open Command Prompt
- 2Type
ipconfig /flushdns
and press Enter - 3Restart your FiveM client and try connecting again
- Configure firewall and antivirus exceptions:
Check if your firewall or antivirus is blocking FiveM's network connections and add the following exceptions:
- FiveM application (FiveM.exe)
- FiveM network connections (UDP/TCP ports)
- Try using a direct IP connection:
- 1Ask the server owner for the direct IP address and port
- 2Open FiveM and click on "Direct Connect" in the main menu
- 3Enter the IP address and port (e.g.,
127.69.42.0:30120
) - 4Click "Connect" and see if it resolves the CURL timeout error
- If these solutions don't resolve the CURL error code 28:
- Check the server/city's Discord or forum for any announced outages or problems
- Ask other players if they can connect to the same server
- Provide details to server staff about your connection issue and steps you've tried
Common Causes for Server Owners
- Your FXServer is currently is not running or has crashed
- Server ports are not properly forwarded
- Firewall or security software is blocking incoming connections to your server
- Network configuration issues on your hosting provider or dedicated server
Solutions for Server Owners
- Verify FXServer status:
- 1Check server logs for any error messages or warnings
- 2Verify that the FXServer process is running
- Windows: Ctrl+Shift+Esc and look for
FXServer.exe
- Linux: Use the command
ps aux | grep fxserver
to find running processes
- 3Start / Restart FXServer if it's not running, or is showing errors
- Review network configuration:
- 1Confirm both TCP and UDP for port
30120
(by default) is properly forwarded in your router - 2Temporarily disable security software to test if it's blocking connections
- Contact your hosting provider:
If issues persist, reach out to your server host for assistance with network configuration
Common CURL Timeout Questions
Answers to frequently asked questions about CURL error code 28
Related Solutions
How to Fix "Unable to Find SteamID" Error in FiveM
Complete guide to resolving the "Unable to find Steam ID" error in FiveM. Learn how to properly connect your Steam account and fix Steam-related authentication issues.
How to Fix Packfile SSL Read Error in FiveM
Complete guide to resolving Packfile SSL Read Error in FiveM. Fix SSL certificate issues and get back to playing without connection problems.
How to Fix ROS MTL Timeout Errors in FiveM
Complete guide to fixing Rockstar Online Services (ROS) MTL timeout errors in FiveM. Resolve connection issues with the Rockstar Games Launcher with our step-by-step solutions.