LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-10-2012, 02:53 AM   #1
raguliit
LQ Newbie
 
Registered: May 2012
Location: Chennai,India
Posts: 3

Rep: Reputation: Disabled
How to Solve ''url open error 111 - Connection Refused ''?


Hi,
I have been facing this fatal error whenever i update yum or while trying to get access internet from command mode.This troubles me for a long time since i started my work in Linux based project.I put some of examples here.

the Command is:

PHP Code:
[root@localhost ~]# yum check-update 
and the OUTPUT is

PHP Code:
Loaded pluginsfastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist 
[url]http://apt.sw.be/redhat/el5/en/mirrors-rpmforge[/url] error was
[Errno 4IOError: <urlopen error (111'Connection refused')>
ErrorCannot find a valid baseurl for reporpmforge 
Next YUM make cache Command

PHP Code:
[root@localhost ~]#  yum makecache 
OUTPUT is:

PHP Code:
Loaded pluginsfastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http
://apt.sw.be/redhat/el5/en/mirrors-rpmforge error was
[Errno 4IOError: <urlopen error (111'Connection refused')>
ErrorCannot find a valid baseurl for reporpmforge 
I got the same error.

Hope I will get help and get rid of this soon...!

Last edited by raguliit; 07-10-2012 at 02:58 AM.
 
Old 07-10-2012, 05:52 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
sounds like a local firewall / routing issue. that link works fine on the web, so there's something between your server and the internet that's killing it. Try curling that url and seeing if that fails in the same way, which is really should. Maybe you need to use a proxy?
 
Old 07-11-2012, 04:27 AM   #3
raguliit
LQ Newbie
 
Registered: May 2012
Location: Chennai,India
Posts: 3

Original Poster
Rep: Reputation: Disabled
Re:acid_kewpie

Can you pls just explain the procedure as steps hence it will be beneficial for me to locate the error part then and there? I am using proxy connection only as we provided. Where can i make the changes?

Last edited by raguliit; 07-11-2012 at 04:29 AM.
 
  


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
ERROR:Connection refused (111) annaabhi Linux - Server 1 05-24-2011 06:10 AM
Squirrelmial ERROR:Connection refused (111) shipon_97 Linux - Newbie 3 12-22-2010 08:46 AM
Error 111 ECONNREFUSED Connection refused mysonnysideup Linux - Networking 0 08-31-2010 02:04 AM
error: unable to connect to socket: Connection refused (111) ; Mukiri Linux - Newbie 1 05-04-2009 04:27 AM
RHN - Network error 111: Connection refused Adam555 Linux - Newbie 1 05-25-2004 01:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:11 PM.

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