LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-23-2007, 02:05 PM   #1
sehku17
LQ Newbie
 
Registered: Sep 2007
Location: St. Louis, MO
Distribution: Ubuntu & derivatives, Fedora
Posts: 19

Rep: Reputation: 0
error connecting to localhost 127.0.0.1 in apt-get and all front-ends I have for it


I am using LinuxMint, an Ubuntu derivative, and am experiencing some trouble with apt-get. It gives me an error saying that I cannot get the archives and my connection to 127.0.0.1 was refused.

ex:

Failed to fetch http://archive.ubuntu.com/ubuntu/poo...untu1_i386.deb Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused)

I have tried ssh x@127.0.0.1 (substituting another user for x), and that seems to work fine. It seems to be limited to just apt-get. I could really use some help.

I will try to remember to check this thread, but if you think you can fix this, please e-mail me at sehku17@gmail.com
 
Old 09-23-2007, 02:20 PM   #2
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
not sure about LinuxMint, but are there any firewalls up and running? iptables? What does /etc/apt/sources.list specify? Did you try running apt-get update?
 
Old 09-23-2007, 02:25 PM   #3
sehku17
LQ Newbie
 
Registered: Sep 2007
Location: St. Louis, MO
Distribution: Ubuntu & derivatives, Fedora
Posts: 19

Original Poster
Rep: Reputation: 0
there are no firewalls up now and it still won't work. originally I had firewalls, but not on that port.
The etc/apt/sources.list lists the appropriate sources. apt-get update gives me the same type of error.

Failed to fetch http://medibuntu.sos-sts.com/repo/di...tion-en_US.bz2 Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused)

cat sources.list

## UBUNTU REPOSITORIES
## -------------------
##
## Feisty (Ubuntu 7.04)
deb http://archive.ubuntu.com/ubuntu feisty main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu feisty main restricted universe multiverse
##
## Proposed Updates
deb http://archive.ubuntu.com/ubuntu feisty-proposed main restricted universe multiverse
##
## Bug Fixes
deb http://archive.ubuntu.com/ubuntu feisty-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu feisty-updates main restricted universe multiverse
##
## Security Updates
deb http://security.ubuntu.com/ubuntu feisty-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu feisty-security main restricted universe multiverse
##
## Backports
deb http://archive.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse


## LINUX MINT REPOSITORIES
## -----------------------
##
## Cassandra (Linux Mint 3.0)
deb http://www.linuxmint.com/repository cassandra/
##
## Romeo (Linux Mint Unstable)
## deb http://www.linuxmint.com/repository romeo/


## OTHER REPOSITORIES
## ------------------
##
## Canonical (RealPlayer10, Opera, DesktopSecure etc...)
deb http://archive.canonical.com/ubuntu feisty-commercial main
##
## Medibuntu (Codecs and extra applications)
deb http://medibuntu.sos-sts.com/repo/ feisty free non-free



thanks for posting, though

Last edited by sehku17; 09-23-2007 at 02:28 PM. Reason: forgot some relevent information
 
  


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
LXer: CLI Magic: Creating basic front ends with dialog and Xdialog LXer Syndicated Linux News 0 07-17-2006 09:21 AM
ReKall, PgAccess ... Any Other DB Front Ends? rickh Linux - Software 2 03-04-2005 03:33 PM
MRTG front ends tmakobu Linux - Networking 1 02-04-2005 09:15 AM
creating graphical front ends to commandline programs seidren Programming 5 02-05-2004 02:21 PM
error connecting to 127.0.0.1:139 Adibe_Hamm Linux - Software 3 10-01-2003 01:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:50 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
Open Source Consulting | Domain Registration