curl和wget不从特定服务器下载文件
我面临着以前从未面临过的事情。我到处搜寻而没有成功。以此图像URL:
https://cdn.kimpex.com/Web/600/100/100659.jpg
您可以在浏览器中看到它。从我需要运行导入的生产服务器中,此URL似乎无法触及。我尝试了卷曲和WGET,但我没有得到任何回应。我尝试了另一台服务器,然后下载了。
我不知道在哪里检查。 iptables和防火墙似乎很好。服务器是Linode/Ubuntu 20.04.4。
感谢任何帮助!谢谢!
更新:服务器可以从其他服务器下载。例如,运行WGET https://www.example.com
:
Resolving www.example.com (www.example.com)... 2606:2800:220:1:248:1893:25c8:1946, 93.184.216.34
Connecting to www.example.com (www.example.com)|2606:2800:220:1:248:1893:25c8:1946|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1256 (1.2K) [text/html]
Saving to: ‘index.html’
index.html 100%[============================>] 1.23K --.-KB/s in 0s
2022-06-10 17:33:11 (90.2 MB/s) - ‘index.html’ saved [1256/1256]
I'm facing something I never faced before. I searched everywhere without success. Take this image URL:
https://cdn.kimpex.com/Web/600/100/100659.jpg
You can see it in your browser. From the production server where I need to run an import, this URL seems to be not reachable. I tried curl and wget but I don't get any response. I tried from another server and it gets downloaded.
I have no idea where to check. iptables and firewall seem to be fine. Server is a Linode/Ubuntu 20.04.4.
I'd appreciate any help! Thanks!
UPDATE: The server can download from other server. For example running wget https://www.example.com
:
Resolving www.example.com (www.example.com)... 2606:2800:220:1:248:1893:25c8:1946, 93.184.216.34
Connecting to www.example.com (www.example.com)|2606:2800:220:1:248:1893:25c8:1946|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1256 (1.2K) [text/html]
Saving to: ‘index.html’
index.html 100%[============================>] 1.23K --.-KB/s in 0s
2022-06-10 17:33:11 (90.2 MB/s) - ‘index.html’ saved [1256/1256]
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论