curl:(7)连接80、443端口失败

curl:(7)连接80、443端口失败

您好,我正在尝试使用 STM32MP1 中的此命令从服务器进行卷曲

curl -i -k -X POST -H "Content-Type: application/json" --data '{ "id":"2","timestamp":"200","data":"100"}' https://dv7knsjzph.execute-api.eu-central-1.amazonaws.com/prod/boxtronic-devices/2/data/

但我越来越

curl: (7) Failed to connect to dv7knsjzph.execute-api.eu-central-1.amazonaws.com port 443: No route to host

vi/etc/hosts/给了我:

127.0.0.1       localhost
127.0.1.1       buildroot

我怎样才能做到这一点。谢谢

相关内容