摘要: curl 一般情况下请求http时不会有问题 但是请求 https 协议的链接时会报错,如下: curl: (60) SSL certificate problem: unable to get local issuer certificate More details here: https:// 阅读全文
posted @ 2022-03-30 12:01 散人长情 阅读(1037) 评论(0) 推荐(0) 编辑
摘要: Java获取IP // 获取访问者的IP public static String getIpAddress(HttpServletRequest request) { String ip = null; // X-Forwarded-For:Squid 服务代理 String ipAddresse 阅读全文
posted @ 2022-03-30 11:28 散人长情 阅读(550) 评论(0) 推荐(0) 编辑