centos使用wget下载文件(https),可在服务器上使用,但在本地虚拟机中停止?

时间:2014-11-21 03:17:01

标签: linux wget

我需要下载图片:

https://gp1.wac.edgecastcdn.net/806614/photos/photos.500px.net/90241693/795b7a5900db5905631ebe7ff5aa141a5e0f59ce/3.jpg?v=6

在服务器上可用(centos 6.5 64位),但在本地虚拟机中停止(centos 6.5 64位):

[root@localhost ~]# wget 'https://gp1.wac.edgecastcdn.net/806614/photos/photos.500px.net/90241693/795b7a5900db5905631ebe7ff5aa141a5e0f59ce/3.jpg?v=6'
--2014-11-21 09:33:17--  https://gp1.wac.edgecastcdn.net/806614/photos/photos.500px.net/90241693/795b7a5900db5905631ebe7ff5aa141a5e0f59ce/3.jpg?v=6
Resolving gp1.wac.edgecastcdn.net... 159.106.121.75, 37.61.54.158
Connecting to gp1.wac.edgecastcdn.net|159.106.121.75|:443... failed: Connection timed out.
Connecting to gp1.wac.edgecastcdn.net|37.61.54.158|:443... connected.

谁能告诉我为什么?如何?非常感谢!

1 个答案:

答案 0 :(得分:2)

看起来像dns问题。试试

wget 'http://93.184.220.20/806614/photos/photos.500px.net/90241693/795b7a5900db5905631ebe7ff5aa141a5e0f59ce/3.jpg?v=6'