请求同一个 URL: http://www.ygsw6.com/Meguihong/?7Ek3Nf1Gg7Al9El7Gt8Mu3Qr5Jj4Nl
ubuntu wget 返回期望结果(400 bad request):
ubuntu@10-23-194-231:~$ wget -d http://www.ygsw6.com/Meguihong/?7Ek3Nf1Gg7Al9El7Gt8Mu3Qr5Jj4Nl
DEBUG output created by Wget 1.19.4 on linux-gnu.
Reading HSTS entries from /home/ubuntu/.wget-hsts
URI encoding = ‘UTF-8’
Converted file name 'index.html?7Ek3Nf1Gg7Al9El7Gt8Mu3Qr5Jj4Nl' (UTF-8) -> 'index.html?7Ek3Nf1Gg7Al9El7Gt8Mu3Qr5Jj4Nl' (UTF-8)
--2019-11-26 11:35:21-- http://www.ygsw6.com/Meguihong/?7Ek3Nf1Gg7Al9El7Gt8Mu3Qr5Jj4Nl
Resolving www.ygsw6.com (www.ygsw6.com)... 103.71.50.207
Caching www.ygsw6.com => 103.71.50.207
Connecting to www.ygsw6.com (www.ygsw6.com)|103.71.50.207|:80... connected.
Created socket 3.
Releasing 0x000055c545103040 (new refcount 1).
---request begin---
GET /Meguihong/?7Ek3Nf1Gg7Al9El7Gt8Mu3Qr5Jj4Nl HTTP/1.1
User-Agent: Wget/1.19.4 (linux-gnu)
Accept: */*
Accept-Encoding: identity
Host: www.ygsw6.com
Connection: Keep-Alive
---request end---
HTTP request sent, awaiting response...
---response begin---
HTTP/1.1 400 Bad Request
Content-Type: text/html; charset=us-ascii
Server: Microsoft-HTTPAPI/2.0
Date: Tue, 26 Nov 2019 03:38:16 GMT
Connection: close
Content-Length: 334
---response end---
400 Bad Request
URI content encoding = ‘us-ascii’
Closed fd 3
2019-11-26 11:35:22 ERROR 400: Bad Request.
centos wget 一直重试 retrying:
[root@10-23-103-1 ~]# wget -d http://www.ygsw6.com/Meguihong/?7Ek3Nf1Gg7Al9El7Gt8Mu3Qr5Jj4Nl
DEBUG output created by Wget 1.14 on linux-gnu.
URI encoding = ‘UTF-8’
Converted file name 'index.html?7Ek3Nf1Gg7Al9El7Gt8Mu3Qr5Jj4Nl' (UTF-8) -> 'index.html?7Ek3Nf1Gg7Al9El7Gt8Mu3Qr5Jj4Nl' (UTF-8)
Converted file name 'index.html?7Ek3Nf1Gg7Al9El7Gt8Mu3Qr5Jj4Nl' (UTF-8) -> 'index.html?7Ek3Nf1Gg7Al9El7Gt8Mu3Qr5Jj4Nl' (UTF-8)
--2019-11-26 11:42:30-- http://www.ygsw6.com/Meguihong/?7Ek3Nf1Gg7Al9El7Gt8Mu3Qr5Jj4Nl
Resolving www.ygsw6.com (www.ygsw6.com)... 103.71.50.207
Caching www.ygsw6.com => 103.71.50.207
Connecting to www.ygsw6.com (www.ygsw6.com)|103.71.50.207|:80... connected.
Created socket 3.
Releasing 0x0000000001ef6d30 (new refcount 1).
---request begin---
GET /Meguihong/?7Ek3Nf1Gg7Al9El7Gt8Mu3Qr5Jj4Nl HTTP/1.1
User-Agent: Wget/1.14 (linux-gnu)
Accept: */*
Host: www.ygsw6.com
Connection: Keep-Alive
---request end---
HTTP request sent, awaiting response... No data received.
Closed fd 3
Retrying.
--2019-11-26 11:42:32-- (try: 2) http://www.ygsw6.com/Meguihong/?7Ek3Nf1Gg7Al9El7Gt8Mu3Qr5Jj4Nl
Found www.ygsw6.com in host_name_addresses_map (0x1ef6d30)
Connecting to www.ygsw6.com (www.ygsw6.com)|103.71.50.207|:80... connected.
Created socket 3.
Releasing 0x0000000001ef6d30 (new refcount 1).
---request begin---
GET /Meguihong/?7Ek3Nf1Gg7Al9El7Gt8Mu3Qr5Jj4Nl HTTP/1.1
User-Agent: Wget/1.14 (linux-gnu)
Accept: */*
Host: www.ygsw6.com
Connection: Keep-Alive
---request end---
HTTP request sent, awaiting response... No data received.
Closed fd 3
Retrying.
又分别 telnet 了该 url 的 host 的 80 端口
ubuntu telnet 保持连接:
ubuntu@10-23-194-231:~$ telnet www.ygsw6.com 80
Trying 103.71.50.207...
Connected to www.ygsw6.com.
Escape character is '^]'.
centos telnet 断开连接:
[root@10-23-103-1 ~]# telnet www.ygsw6.com 80
Trying 103.71.50.207...
Connected to www.ygsw6.com.
Escape character is '^]'.
Connection closed by foreign host.
想请教下各位有遇到类似问题么
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.