eclipse kepler "Cannot install remote marketplace locations"

revolutionary picture revolutionary · Sep 4, 2013 · Viewed 31.9k times · Source

I have downloaded the latest eclipse version, eclipse kepler.

But when i try to access the Marketplace inside eclipse or try to install ADT plugin for Android, it gives me this creepy error which is driving me crazy:

Cannot open Eclipse Marketplace
Cannot install remote marketplace locations: Connection failed

This is most often caused by a problem with your internet connection. Please check your internet connection and retry.
Unable to read repository at http://marketplace.eclipse.org/catalogs/api/p.
Connection reset
Connection failed

This is most often caused by a problem with your internet connection. Please check your internet connection and retry.
Connection reset

Answer

Sam picture Sam · Sep 28, 2014

please put below line to eclipse.ini in the last it worked for me -Djava.net.preferIPv4Stack=true