How to configure Proxy Settings in Eclipse

Often times, Eclipse IDE may need access to the Internet for some plugins install and update. If your computer is behind a proxy server, most company do, Eclipse will keep hanging and take very long time to process and failed at the end. You have to configure the proxy settings in Eclipse in order to pass through it.

Howh to configure Proxy Settings in Eclipse

1) In Eclipse IDE, select “Window –> Preferences”

2) Preferences box prompt out, choose “Network Connections”.

3) Select “Manual” from Action Provider drop down list

How-to-configure-Proxy-Settings-in-Eclipse-1

4) Select Http in the List and click “Edit” button

5) Fill in the proxy server host and port number, (fill in the username and password if any)

How-to-configure-Proxy-Settings-in-Eclipse-2

6) Ok, Done.

Now, Eclipse is able to connect to Internet and pass through Proxy server.

About the Author

author image
mkyong
Founder of Mkyong.com, love Java and open source stuff. Follow him on Twitter, or befriend him on Facebook or Google Plus. If you like my tutorials, consider make a donation to these charities.

Comments

Leave a Reply

avatar
newest oldest most voted
Valeriy Pogrebitskiy
Guest
Valeriy Pogrebitskiy

Eclipse’s proxy configuration requires both HOST and PORT. But what about auto proxy configuration *scripts*? In other words, if IT provides proxy configuration script (let’s say http://myhost.com/autoproxy.cgi) – how can that be used in Eclipse? I was not able to use such script …

ibo
Guest
ibo

proxy bypass, you have to remove them, localhost and 127.1.1.0, and it will work.

Nithin
Guest
Nithin

it worked for me , thanks

jameskaron
Guest
jameskaron

Thank you. Useful. I fogot to restart so I try many times and not work.

Shindo
Guest
Shindo

Thank you so much Mkyong! Everytime I have a question I find the answer on your page!

Siva
Guest
Siva

Thanks a lot .. Amazing site ..

Srinivasan
Guest
Srinivasan

Nice. it solved my problem. Thanks man…

Alex
Guest
Alex

I did use authentication, so maybe thats why i had to restart..?

Alex
Guest
Alex

Dont forget to restart eclipse. For me it only worked after setting proxy settings, and then restarting eclipse. Thanks for the tutorial!

kandy
Guest
kandy

Thanx….All ur tutorials are very usefull….

Markus M
Guest
Markus M

Thank you!
Workes like a miracle. First time ever, i was able to enter the eclipse marketplace from behind a firewall.

farouk1301
Guest
farouk1301

thank for this Tuto

Dude
Guest
Dude

You’re very clear dude! Cool!

trackback
First Spring MVC project using Spring Tool Suite (STS) and Maven build | Abdul Munif's blog
Iven
Guest
Iven

thanks

Herick
Guest
Herick

I was having trouble with Eclipse Marketplace, turns out the proxy settings did it. Thank you for this.

Cyril
Guest
Cyril

Thank you very much it is worked for me…

ibo
Guest
ibo

you have to delete localhost and 127.1.1.0, it will work. it works with me.
withtout server and port,… only delete down , the localhost and 127.1.1.0
have a nice day,

Harsha
Guest
Harsha

Hi, I am not able to still connect through eclipse. I am not able to uncheck the socks connection and keeping it manual and running it gives an error saying UnreachableBrowserException. Error contacting the remote browser. It may have died. Is there any other thing or option to configure??

Walter C
Guest
Walter C

thanks

Alfred Bfred
Guest
Alfred Bfred

This works quite perfect. Thanks alot

Victor S
Guest
Victor S

Great help. Thanks.

Marek Sebera
Guest
Marek Sebera

Good point is not to configure SOCKS proxy if the proxy actually doesn’t support it.
Configure just HTTP and HTTPS and clear SOCKS

http://stackoverflow.com/questions/5857499/how-do-i-have-to-configure-the-proxy-settings-so-eclipse-can-download-new-plugin

AjayKumarBasuthkar
Guest
AjayKumarBasuthkar

Hi Marek Sebera,

After three days of fiddling this really worked!!!
Kind of you.

Chirag
Guest
Chirag

Hey, thanks this works for me… :)

yodamad
Guest
yodamad

Yes ! that was the solution !!! Thx !

Nashrul
Guest
Nashrul

hello, this is nice tutorial. thanks a lot

corporategirl
Guest
corporategirl

Hello, nice documentment, how do you trace the proxy connection from eclipse?
What trace strings should we set in the .options file?
should that be org.eclipse.core.net/debug=true
and org.eclipse.core.net.proxy/debug=true?
Thank in advance

Rujvendra
Guest
Rujvendra

thanks,one of the nice tutorial

Ehab
Guest
Ehab

thank you, very helpful

Harry
Guest
Harry

Thanks for your trouble, appreciate it.

mike
Guest
mike

Just interesting.
When i want to update eclipse i set “active provider” to “manual”.
If i want to connect to inner svn server i should check “active provider” to “native”.
Then all works fine.
Is there any way to do it automatically?

mike
Guest
mike

Thanks

hung ho
Guest
hung ho

Thanks man!