[CentOS] Could not retrieve mirror list while using yum command

Fri Apr 2 04:58:10 UTC 2010
Kwan Lowe <kwan.lowe at gmail.com>

On Thu, Apr 1, 2010 at 11:38 PM, Jatin Davey <jashokda at cisco.com> wrote:
> Hi
>
> I wanted to download and install the net-snmp package. Usually on my
> other CentOS boxes i use the following command to do it:
>
> yum install net-snmp
>
> I was able to successfully install net-snmp on 4 of my CentOS boxes but
> not on one of them. It reports me the following error message:
>
> [root at localhost yum.repos.d]# yum install net-snmp
> Loaded plugins: fastestmirror
> Determining fastest mirrors
> Could not retrieve mirrorlist
> http://mirrorlist.centos.org/?release=5&arch=i386&repo=os error was
> [Errno 4] IOError: <urlopen error (110, 'Connection timed out')>
> Error: Cannot find a valid baseurl for repo: base
>

Can you access the internet from that machine? Do you require a proxy
to connect?