[Buildroot] curl: (7) Failed to connect to .... port 80: Connection refused

Peter Korsgaard peter at korsgaard.com
Sat Nov 7 17:38:40 UTC 2020


>>>>> "Kevin" == Kevin Tomary <kevin.tomary at hotmail.com> writes:

 > Hello
 > I am new to curl and a colleague created a rest point to see if my
 > STM32MP1 is communicating with it.

 > when I use
 > :~$ curl -i -k -X POST -H "Content-Type: application/json"
 > https://dv7knsjzph.execute-api.eu-central-1.amazonaws.com/prod/boxtronic-devices/1/data/

 > I get this:
 > curl: (7) Failed to connect to
 > dv7knsjzph.execute-api.eu-central-1.amazonaws.com port 80: Connection
 > refused

 > Does someone have a solution ?

Does it work with a http:// URL instead of https://? Does adding -v give
you any details about the failure?

What is your network setup? Can you ping amazonaws.com?

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list