LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-10-2014, 08:48 AM   #1
RoaldT
LQ Newbie
 
Registered: Mar 2014
Posts: 6

Rep: Reputation: Disabled
curl (7) couldn't connect to host


Hi

I'm trying to import some data from UniprotDatabase with this command:

curl 'ftp://ftp.uniprot.org/pub/databases/uniprot/current_release/knowledgebase/complete/uniprot_sprot.xml.gz' -o uniprot_sprot.xml.gz

But when I execute it, an 'curl (7) couldn't connect to host' error occur. Can someone help me to deal with this?

Thanks and regards,
Roald Targé
 
Old 03-10-2014, 09:45 AM   #2
Guttorm
Senior Member
 
Registered: Dec 2003
Location: Trondheim, Norway
Distribution: Debian and Ubuntu
Posts: 1,261

Rep: Reputation: 297Reputation: 297Reputation: 297
Hi

The command works here. I got a huge XML file downloaded. Maybe ftp.uniprot.org was down when you tried? Or maybe it's a firewall blocking FTP?
 
Old 03-10-2014, 10:04 AM   #3
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 2,166

Rep: Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751
Working fine on my two Linux boxes (one in US, one in France)

Very likely to be a firewall issue your end.
 
Old 03-11-2014, 04:59 AM   #4
RoaldT
LQ Newbie
 
Registered: Mar 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
Hi

Thanks for your answers, it's working fine now. I was trying it on the network of the university. But i my own network, it's working fine.

Best regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] [Errno 14] PYCURL ERROR 7 - "couldn't connect to host" Trying other mirror user1989 Linux - Networking 6 01-21-2016 11:31 AM
curl: (7) couldn't connect to host // wget --> failed: Connection refused. linea Linux - Newbie 12 05-21-2012 01:56 PM
curl(7) cannot connect to host nitin.cool4urchat Fedora 3 12-20-2009 07:04 AM
rdate: couldn't connect to host kumardineshwar Linux - Server 1 06-10-2008 02:43 AM
YOU - Error while requesting servers: Couldn't connect to host VIR3NT SUSE / openSUSE 1 04-24-2006 04:46 AM


All times are GMT -5. The time now is 08:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration