Skip to content
Advertisement

Problems using Curl (56)

I am using AWS and Curl to send a request to a web service that connects to port 8080, I have already consumed another web service that connects to different ports and I have no problem, but with this, when I send the request, it quickly rejects the connection and The errno 56 code returns.

Is there a limitation in Curl that blocks connections when sending to a site with this port?

Advertisement

Answer

The cURl error 56 can have different reasons like: Passing data to be uploaded in URL itself instead of POST request. Probably Proxy blocking the request to the server. In some cases, the server does not support particular request, like some servers support PUT/POST any one of them.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement