最近ftp登陆NCBI出现No route to host的问题
最近一段时间在linux下,我用ftp命令登陆NCBI的ftp地址ftp.ncbi.nih.gov,有时会出现ftp: connect: No route to host的提示,再退出重新登陆,经过多次测试之后,发现有时正常,有时不行,即提示ftp: connect: No route to host。
这个问题以前是没有碰到过。一开始有点怀疑是因为公司对网络的限制所造成的。
这个问题持续了一段时间,不知原因所在。
直到前两天的,我又花了点时间研究这个问题。终于有点眉目。
原来在ftp ftp.ncbi.nih.gov时,会把ftp.ncbi.nih.gov解析为IP地址,当ftp.ncbi.nih.gov解析为130.14.29.30时,就会提示ftp: connect: No route to host。当ftp.ncbi.nih.gov解析为165.112.7.10时,一切正常。
所以,现在把命令换成ftp 165.112.7.10,搞定。
不过,为什么IP是130.14.29.30时,就会有问题呢??这个问题有待解答~
有点相关的文章
- 本地blast下载 (0.535)
- NCBI资源介绍及使用手册(不断更新,索引页面) (0.535)
- NCBI(美国国立生物技术信息中心)简介 (0.535)
- NCBI站点地图---关于Database的一般介绍 (0.535)
- NCBI站点地图---Human Genome人类基因组数据介绍 (0.535)
- MEGA4的中文使用说明 (RANDOM - 0.500)
We have servers in the background that get updated on a rotating basis. In short, you should never rely on the ip address to download FTP files. You can just use the FTP URLs as found on the FTP websites.
Regards,
Steve Pechous, Ph.D.
NCBI User Services
pechous@ncbi.nlm.nih.gov
@yc,
Got it!
Thank you for reminding me.Thanks for your attention.
Regards,
Liucheng
We have the same problem when trying to connect from Japan. Accessing http://ftp.ncbi.nih.gov connects us to either 130.14.29.30, which fails, or to 165.112.7.10, which succeeds. Perhaps a bad DNS cache on the way from Asia to US? I also started to use fixed IP numbers, even though this solution isn’t optimal.
But this not my problem anymore. It happened a few months ago. Maybe NCBI servers in the background that get updated on a rotating basis. You can see the first message from Steve Pechous.
Typo:
http://ftp.ncbi.nih.gov => ftp://ftp.ncbi.nih.gov
我的总是提示我: unknown host
为什么呢?
命令如下:
我是在局域网内,外网需要走代理,不知道是不是这个原因?
guoshicheng@bio2:~$ ftp http://ftp.ncbi.nih.gov
ftp: http://ftp.ncbi.nih.gov: Unknown host
ftp>
直接ftp http://ftp.ncbi.nih.gov就行了