Query error: System.Net.Http.HttpRequestException: Connection refused (

  • Installed all default server files, changed nothing
  • Can connect to the server using localhost option in FiveM
  • “Query error: System.Net.Http.HttpRequestException: Connection refused (”-Error on the Keymaster Server page
  • Server not publically listed, joining not possible
  • Port 30120 is opened in Windows Firewall Rules, tho multiple websites are telling me they can’t reach the port.

Would love some help :sob:

1 Like

did you fix it? i have the same problem now


I have the exact same problem using a failover IP address.
On the Keymaster Server page, it shows the IP address of the server and not the failover IP address. with the following error message:
System.Net.Http.HttpRequestException: Connection refused

I have the same error


Any Fix for this to date?

1 Like

To connect to your local server use connect in your fivem console. (you can open your console with f8)

i need help plz i have firewall also disabled and port forwarding set i dont know what todo

Hello!, i have the same problem, and to fix it you only need to change the port from 30120 to 30110, or something else.
I feel helped you!

Have you portforward on your wifi?

Hi! Someone have a solution for that ?