Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

2 Answers 2

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 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.