1. Abnormal information
error:
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. No content is allowed in the preamble.
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
2. Solutions
In the eclipse installation directory, find the eclipse.ini file and add the following at the end of the file:
-Djava.net.preferIPv4Stack=true
3. java.net.preferIPv4Stack
java.net.preferIPv4Stack (default: false)
If IPv6 is available on the operating system the underlying native socket will be an IPv6 socket. This allows Java(tm) applications to connect too, and accept connections from, both IPv4 and IPv6 hosts.
If an application has a preference to only use IPv4 sockets then this property can be set to true. The implication is that the application will not be able to communicate with IPv6 hosts.
Similar Posts:
- Tomcat Command Error: Catalina.stop: connect reused solution
- Eclipse failed to start. Javax / annotation / postconstruct is missing
- [Solved] MySql Host is blocked because of many connection errors; unblock with ‘mysqladmin flush-hosts…
- apr_socket_recv: Connection reset by peer (104)
- Linux SSH Cannot Connect: Read from socket failed: Connection reset by peer
- PHPStorm Run Error: Failed to load JVM DLL
- java.net.NoRouteToHostException: Cannot assign requested address
- java.net.SocketException: socket closed
- MySql Host is blocked because of many connection errors; unblock with ‘mysqladmin flush-hosts…
- MySql Host is blocked because of many connection errors; unblock with ‘mysqladmin flush-hosts’ [How to Solve]