php抓取一个远程的xml文件以前一直是好的。今天突然不行了。下面是wget测试的结果

bjlfp 2014-06-05 09:00:39
wget -O /dev/null http://www.test.com.cn/test/test.xml
--2014-06-05 08:52:40-- http://www.test.com.cn/test/test.xml
正在解析主机 www.test.com.cn... 219.127.92.115
Connecting to www.test.com.cn|219.127.92.115|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:1474715 (1.4M) [text/xml]
Saving to: `/dev/null'

63% [=========================================================> ] 940,240 296K/s in 3.1s

2014-06-05 08:52:44 (296 KB/s) - Read error at byte 940240/1474715 (Connection reset by peer). 重试中。

--2014-06-05 08:52:45-- (尝试次数: 2) http://www.test.com.cn/test/test.xml
Connecting to www.test.com.cn|2019.127.92.115|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 读取文件头错误 (Connection reset by peer)。
...全文
302 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
bjlfp 2014-06-05
  • 打赏
  • 举报
回复
找到原因了个 dns的问题

19,612

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧