How to Fix CURL Error Code 28 Timeout

How to Fix CURL Error Code 28 Timeout in FiveM

FiveMNetworkingTroubleshootingHow To

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:
    1. 1
      Press WIN+X, then press I to open Command Prompt
    2. 2
      Type
      ipconfig /flushdns
      and press Enter
    3. 3
      Restart 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:
    1. 1
      Ask the server owner for the direct IP address and port
    2. 2
      Open FiveM and click on "Direct Connect" in the main menu
    3. 3
      Enter the IP address and port (e.g., 127.69.42.0:30120)
    4. 4
      Click "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 CURL Timeout Questions

Answers to frequently asked questions about CURL error code 28

CURL error code 28 specifically means "Operation timeout" - the client sent a request to the server but didn't receive a response within the allocated time limit. In FiveM, this typically indicates that your client cannot establish a connection with the game server.

CURL error code 28 is primarily a network connectivity issue rather than a problem with your FiveM installation. Reinstalling FiveM usually doesn't resolve this error unless your installation was somehow corrupted.

If you can connect to some FiveM servers but not others, the issue might be specific to certain servers. It could be due to server-side configuration problems, distance to the server (higher latency), or incompatibilities between your network setup and that particular server.

Reinstalling FiveM rarely resolves CURL error code 28 issues since they're typically network-related rather than client-related. It's more effective to try the network troubleshooting steps outlined in this guide before resorting to reinstallation.

The best way to determine if a server is down is to check the server's Discord, forum, or social media channels for status updates. Alternatively, you can ask other players if they can connect to the same server. If others can connect but you can't, the issue is likely on your end.