cURL request Error

I’m trying to create a WHMCS module but get this curl error: Failed to connect to server.myhostname.com port 8083 after 1206 ms: Couldn't connect to server

The POST request works fine sending formdata on Postman.
What might be the problem with curl?