curl https CURLE_COULDNT_CONNECT【急】

勇敢的天牛 2013-08-02 01:51:17
ununtu@ubuntu:~/Downloads/curl-7.31.0$ curl https://api.weibo.com
curl: (7) Failed connect to api.weibo.com:443; Connection timed out

ununtu@ubuntu:~/Downloads/curl-7.31.0$ curl --version
curl 7.31.0 (x86_64-unknown-linux-gnu) libcurl/7.31.0 OpenSSL/0.9.8y zlib/1.2.8
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smtp smtps telnet tftp
Features: Largefile NTLM NTLM_WB SSL libz

http可以,https不行,紧急求助!!
...全文
335 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
zhuobattle 2013-12-27
  • 打赏
  • 举报
回复
https编译时,那个curl库要加上如下编译宏:

USE_SSLEAY
USE_OPENSSL
才支持https,不知楼主加了没
漫步者、 2013-12-27
  • 打赏
  • 举报
回复
你的问题解决了没,同求啊!!!

69,371

社区成员

发帖
与我相关
我的任务
社区描述
C语言相关问题讨论
社区管理员
  • C语言
  • 花神庙码农
  • 架构师李肯
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧