Could not connect to localhost:4001 (127.0.0.1).

DarthMandeep ulist at gs1.ubuntuforums.org
Thu May 25 11:51:09 UTC 2006


That's weird, it looks like apt is trying to connect to your computer to
download updates, instead of going to the proper web site.



Do you have any entries in your /etc/hosts file related to the web
sites apt is trying to connect to? If you've got entries in that file
saying something like "ubuntu.com localhost:4001" then that's telling
the system that ubuntu.com is hosted on your computer.





Other than that, check your DNS settings. What does /etc/resolv.conf
say?


-- 
DarthMandeep




More information about the ubuntu-users mailing list