Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 am behind a proxy, but I don't know the URL/port. Is there a way to find this out? Thanks,

share|improve this question
Do you mean the IP/port you use to connect to your proxy or the IP you are expose to the internet with? – André Stannek Apr 1 '13 at 15:50

you can find your proxy in two ways. Open your terminal with CTRL+ALT+T then

Method 1:

env | grep -i proxy

Description: It will search proxy string in the env command which lists all system environmental variables.

Method 2:

cat /etc/environment
share|improve this answer
Thank you. I will try and close when completed. – Ray Apr 1 '13 at 21:09


it will show your IP address. If you are behind a proxy it will show the address of proxy

share|improve this answer
doesn't work for me .. i'm behind a proxy but it says "no proxy detected" – philx_x Mar 26 '15 at 15:10

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.