Results 1 to 9 of 9

Thread: 127.0.0.1:8118... failed: Connection refused.

  1. #1
    Join Date
    Aug 2008
    Beans
    20

    127.0.0.1:8118... failed: Connection refused.

    When I try to download something I get:

    127.0.0.1:8118... failed: Connection refused.

    What do I do?

  2. #2
    Join Date
    May 2005
    Location
    Sydney, Australia
    Beans
    281

    Re: 127.0.0.1:8118... failed: Connection refused.

    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?

  3. #3
    Join Date
    Aug 2008
    Beans
    20

    Re: 127.0.0.1:8118... failed: Connection refused.

    I'm trying to update with the package manager

  4. #4
    Join Date
    Nov 2006
    Location
    40.31996,-80.607213
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: 127.0.0.1:8118... failed: Connection refused.

    Port 8118 is used by Privoxy with Tor.
    "Security lies within the user of who runs the system. Think smart, live safe." - Dr Small
    Linux User #441960 | Wiki: DrSmall

  5. #5
    Join Date
    May 2005
    Location
    Sydney, Australia
    Beans
    281

    Re: 127.0.0.1:8118... failed: Connection refused.

    Quote Originally Posted by nouseforaname7 View Post
    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.

    Code:
    cat /etc/apt/sources.list
    
    sudo apt-get update
    That will give us some indication of what your system is trying to do.

  6. #6
    Join Date
    Sep 2006
    Beans
    3,170
    Distro
    Ubuntu Karmic Koala (testing)

    Re: 127.0.0.1:8118... failed: Connection refused.

    yes it is privioxy's port.I guess privioxy is not running and the application you are using is configured to use proxy

  7. #7
    Join Date
    Aug 2008
    Beans
    20

    Re: 127.0.0.1:8118... failed: Connection refused.

    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/...tion-en_US.bz2 Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused)

  8. #8
    Join Date
    Oct 2007
    Beans
    370
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: 127.0.0.1:8118... failed: Connection refused.

    and do you use a proxy?

  9. #9
    Join Date
    Aug 2008
    Beans
    20

    Re: 127.0.0.1:8118... failed: Connection refused.

    Quote Originally Posted by -Zeus- View Post
    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/...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/...0.8-1_i386.deb and can now download fine
    Last edited by nouseforaname7; September 28th, 2008 at 02:40 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •