camscape - for excellent IT solutions - IT knowledge base

linux :: perl cpan cant connect to

Cristian M.
TitlePerl CPAN cant connect to
TagsCPAN,connection failed
Desc.Perl CPAN not working mirrors
CodeKBLN0037 v1.0
Date14 iulie 2018

Sometimes CPAN cannot download modules and seems that its mirrors are not working. If you see something like


Connecting to (somesitename)|someip|:80... failed: Connection timed out.


Then you have to change the mirrors:


perl -MCPAN -e shell

o conf urllist
o conf urllist
o conf commit


The full list of working mirrors can be read here: