PDA

View Full Version : [ubuntu] 127.0.0.1:8118... failed: Connection refused.



nouseforaname7
September 27th, 2008, 10:45 PM
When I try to download something I get:

127.0.0.1:8118... failed: Connection refused.

What do I do?

gombadi
September 28th, 2008, 01:20 AM
127.0.0.1:8118... failed: Connection refused.


That message says that some program is trying to connect from your local machine to port 8118 on your local machine and your machine is saying "Sorry there is no program listening on port 8118 so you can not connect to it"

That means some questions for you -
1 What are you trying to download?
2 Where are you trying to download it from?
3 What application are you using to download it?
4 if it is a browser then what is the full URL?

nouseforaname7
September 28th, 2008, 02:30 AM
I'm trying to update with the package manager

Dr Small
September 28th, 2008, 03:20 AM
Port 8118 is used by Privoxy with Tor.

gombadi
September 28th, 2008, 06:15 AM
I'm trying to update with the package manager

Interesting :-)

First do you have anything non-standard installed or configured? i.e. tor, proxy servers?

Can you please open a terminal window and paste the output of the following commands.



cat /etc/apt/sources.list

sudo apt-get update


That will give us some indication of what your system is trying to do.

binbash
September 28th, 2008, 08:00 AM
yes it is privioxy's port.I guess privioxy is not running and the application you are using is configured to use proxy

nouseforaname7
September 28th, 2008, 02:26 PM
deb http://archive.canonical.com/ubuntu hardy partner
deb-src http://archive.canonical.com/ubuntu hardy partner

deb http://security.ubuntu.com/ubuntu hardy-security main restricted multiverse
deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted
deb http://security.ubuntu.com/ubuntu hardy-security universe
deb-src http://security.ubuntu.com/ubuntu hardy-security universe
deb http://mirror.noreply.org/pub/tor hardy main
deb-src http://mirror.noreply.org/pub/tor hardy main
deb http://ppa.launchpad.net/adnarim/ubuntu hardy main
deb-src http://ppa.launchpad.net/adnarim/ubuntu hardy main
deb http://repository.cairo-dock.org/ubuntu hardy cairo-dock
deb http://ppa.launchpad.net/compiz/ubuntu hardy main
deb http://ppa.launchpad.net/gilir/ubuntu gutsy main universe #Gilir's screenlets packages and some stuff you shouldn't use
deb http://ppa.launchpad.net/gilir/ubuntu gutsy main universe
deb http://ppa.launchpad.net/gilir/ubuntu gutsy main universe #Gilir's screenlets packages and some stuff you shouldn't use
deb http://archive.canonical.com/ubuntu hardy-commercial main

for the update, I get a bunch of these...

W: Failed to fetch http://wine.budgetdedicated.com/apt/dists/hardy/main/i18n/Translation-en_US.bz2 Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused)

-Zeus-
September 28th, 2008, 02:35 PM
and do you use a proxy?

nouseforaname7
September 28th, 2008, 02:35 PM
and do you use a proxy?

For Firefox, yeah


The program 'privoxy' is currently not installed. You can install it by typing:
sudo apt-get install privoxy
bash: privoxy: command not found
XXXXXXX:~$ sudo apt-get install privoxy
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libglitz-glx1 libwxgtk2.6-0 libdvbpsi4 libxosd2 libvlc0 vlc-nox
libwxbase2.6-0 libglitz1 libdvdnav4 libiso9660-5 vlc vlc-plugin-pulse
libmodplug0c2 libtar libvcdinfo0 libebml0 libmatroska0 libsdl-image1.2
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
privoxy
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1336kB of archives.
After this operation, 2982kB of additional disk space will be used.
Err http://us.archive.ubuntu.com hardy/universe privoxy 3.0.8-1
Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused)
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/universe/p/privoxy/privoxy_3.0.8-1_i386.deb Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused)
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Edit: I clicked on http://us.archive.ubuntu.com/ubuntu/pool/universe/p/privoxy/privoxy_3.0.8-1_i386.deb and can now download fine