can't access through proxy - squid

This is a discussion on can't access through proxy - squid ; Hey all, I just installed squid and I'm having a problem trying to browse by using squid as my http proxy. I get the following error ... The connection was refused when attempting to contact localhost:8080. I followed many config ...

+ Reply to Thread
Results 1 to 6 of 6

Thread: can't access through proxy

  1. can't access through proxy

    Hey all,

    I just installed squid and I'm having a problem trying to browse by
    using squid as my http proxy. I get the following error ...

    The connection was refused when attempting to contact localhost:8080.

    I followed many config tutorials and just did the basics and my
    squid.conf looks like ...

    Code:
    http_port 8080
    icp_port 0
    
    #acl INTERNAL src 192.168.0.0/24 192.168.1.0/24 192.168.2.0/24
    #acl INTERNAL src 192.168.0.0/255.255.0.0
    
    acl INTERNAL src 192.168.1.10/255.255.255.255
    http_access allow INTERNAL
    
    #acl AUTHUSERS proxy_auth REQUIRED
    #http_access allow INTERNAL AUTHUSERS
    The server starts fine, but no matter how I change my rules, I keep
    getting connection refused errors. I'm trying to access squid from the
    same local machine.

    My access.log has been getting entries like this ...

    1154202782.535 2 192.168.1.10 TCP_DENIED/400 1484 GET / - NONE/-
    text/html
    1154202782.646 0 192.168.1.10 TCP_DENIED/400 1506 GET /favicon.ico
    - NONE/- text/html
    1154202782.738 0 192.168.1.10 TCP_DENIED/400 1506 GET /favicon.ico
    - NONE/- text/html

    But now when I try it, I don't even see these entries showing up
    anymore.

    Any help much appreciated.


  2. Re: can't access through proxy

    Also, I tried the client program and got this when trying to test it.

    $ client -p 8080 google.com
    Error in function NSS_Init: -8192
    - An I/O error occurred during security authorization.


  3. Re: can't access through proxy

    hi,

    try different port number as 3128 instead of 8080

    Ender wrote:
    > Also, I tried the client program and got this when trying to test it.
    >
    > $ client -p 8080 google.com
    > Error in function NSS_Init: -8192
    > - An I/O error occurred during security authorization.



  4. Re: can't access through proxy

    and one more thing u have to allow the src that u have defined in the
    above INTERNAL...

    Ender wrote:
    > Also, I tried the client program and got this when trying to test it.
    >
    > $ client -p 8080 google.com
    > Error in function NSS_Init: -8192
    > - An I/O error occurred during security authorization.



  5. Re: can't access through proxy

    I've tried both ports w/ the client cmd as well as the browser and get
    the same results.

    Gops wrote:
    > hi,
    >
    > try different port number as 3128 instead of 8080
    >
    > Ender wrote:
    > > Also, I tried the client program and got this when trying to test it.
    > >
    > > $ client -p 8080 google.com
    > > Error in function NSS_Init: -8192
    > > - An I/O error occurred during security authorization.



  6. Re: can't access through proxy

    Guess I don't understand, I specifically say the port is 8080 (but have
    changed and tried both), and I have the INTERNAL src as listed as
    allowed. Why would that not be right?

    Gops wrote:
    > and one more thing u have to allow the src that u have defined in the
    > above INTERNAL...
    >
    > Ender wrote:
    > > Also, I tried the client program and got this when trying to test it.
    > >
    > > $ client -p 8080 google.com
    > > Error in function NSS_Init: -8192
    > > - An I/O error occurred during security authorization.



+ Reply to Thread