跳至主要內容
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?

4563博客

全新的繁體中文 WordPress 網站
  • 首頁
  • 怪事:香港服务器 http reset
未分類
17 9 月 2020

怪事:香港服务器 http reset

怪事:香港服务器 http reset

資深大佬 : bin456789 0

vps 作为 http 客户端

访问某些网页(例如 google, qq, 1.1.1.1 )会出现 Connection reset

访问某些网页(例如 baidu )却正常

访问 https 网页,全都正常

求原因

具体:

http 访问 baidu,成功率 100%

curl -v http://www.baidu.com/ * About to connect() to www.baidu.com port 80 (#0) *   Trying 103.235.46.39... * Connected to www.baidu.com (103.235.46.39) port 80 (#0) > GET / HTTP/1.1 > User-Agent: curl/7.29.0 > Host: www.baidu.com > Accept: */* > < HTTP/1.1 200 OK 

http 访问 google/qq/ 1.1.1.1,10 次大约有 1 次正常,其余 9 次 Connection reset by peer

curl -v http://1.1.1.1/ * About to connect() to 1.1.1.1 port 80 (#0) *   Trying 1.1.1.1... * Connected to 1.1.1.1 (1.1.1.1) port 80 (#0) > GET / HTTP/1.1 > User-Agent: curl/7.29.0 > Host: 1.1.1.1 > Accept: */* > * Recv failure: Connection reset by peer * Closing connection 0 curl: (56) Recv failure: Connection reset by peer 

https 访问,全都正常

curl -v https://1.1.1.1/ * About to connect() to 1.1.1.1 port 443 (#0) *   Trying 1.1.1.1... * Connected to 1.1.1.1 (1.1.1.1) port 443 (#0) * Initializing NSS with certpath: sql:/etc/pki/nssdb *   CAfile: /etc/pki/tls/certs/ca-bundle.crt   CApath: none * SSL connection using TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 * Server certificate: *  subject: CN=cloudflare-dns.com,O="Cloudflare, Inc.",L=San Francisco,ST=California,C=US *  start date: Jan 28 00:00:00 2019 GMT *  expire date: Feb 01 12:00:00 2021 GMT *  common name: cloudflare-dns.com *  issuer: CN=DigiCert ECC Secure Server CA,O=DigiCert Inc,C=US > GET / HTTP/1.1 > User-Agent: curl/7.29.0 > Host: 1.1.1.1 > Accept: */* > < HTTP/1.1 200 OK 

大佬有話說 (0)

文章導覽

上一篇文章
下一篇文章

AD

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文

51la

4563博客

全新的繁體中文 WordPress 網站
返回頂端
本站採用 WordPress 建置 | 佈景主題採用 GretaThemes 所設計的 Memory
4563博客
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?
在這裡新增小工具