Connection problem server

Hello, when i connect an server i have this error “ERROR_WINHTTP_CANNOT_CONNECT” anyone can help me?

Is this through the server browser or direct connect through IP?
If its through IP check the port or IP is correct.

Hello!

We believe you are having issues with FiveM, we would like to have some additional information.

Error Format

Please provide the requested information using the above template.

Thanks.