Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have just installed Squid on my Ubuntu 11.04 system by entering

sudo apt-get install squid

I then edited /etc/squid/squid.conf and added

acl squid_network src
http_access allow squid_network
http_access allow all


acl purge method PURGE

I then went into Firefox, chose Edit:Preferences:Network:Settings

and made the following changes.

Manual proxy configuration
HTTP Proxy        Port 3128
Use the proxy server for all protocols
No Proxy for localhost:

I then went to the terminal and entered

sudo service squid restart

which resulted in

squid start/running, process 3309

Now, when I go to FireFox and click on home to go to

I get

The connection has timed out      

      The server at is taking too long to respond.

The site could be temporarily unavailable or too busy. Try again in a few moments.
If you are unable to load any pages, check your computer's network
 If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.

I do not have this problem if I just use the system proxy settings.

Any assistance with this would be greatly appreciated,

share|improve this question
What do your squid logs show? Any errors during startup? Do you see connections form Firefox? Are there any iptables rules on the system that would prevent Firefox from connecting to the proxy? – larsks Aug 13 '12 at 0:22

The obvious issues I could see are:

  • IP Tables blocking connections, easiest way to test this is to temporarily disable any IPTable rules and seeing what happens with sudo iptables -X.

  • Check what Port the proxy is running under with in squid config under the tag http_port and make sure you are using the same port in Firefox

share|improve this answer
up vote 0 down vote accepted

Thank you to the people who answered my question.

My problem was HTTP Proxy I was apparently supposed to use the host IP address, in my case. I changed to and that has fixed the problem.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.