Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


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

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


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

curl '' -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
Senior Member
Registered: Dec 2003
Location: Trondheim, Norway
Distribution: Debian and Ubuntu
Posts: 1,295

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335

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

Rep: Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938
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
LQ Newbie
Registered: Mar 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled

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


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:38 AM.

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