Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

My office is a Windows environment, but I have just set up a linux (lubuntu 12.10) machine for me to develop on since I cannot access the command line in Windows.

I have set up the LAMP stack on the machine (which I've done numerous times before without fail), but I cannot access localhost, I get a connection refused error.

In order to use the internet on the machine I've had to add our proxy details to /etc/environment - the internet works fine.

If I get rid of the proxy settings, I can then access localhost, but that of course means I cannot get on the internet.

So how do I access localhost with a proxy enabled?

share|improve this question
up vote 1 down vote accepted

I've not tried it, but a quick google suggests that you can set

share|improve this answer
Thanks, I just solved this myself and was about to post an answer - you beat me to it. – Robin Mar 13 '13 at 12:09

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.