Eclipse not able to access the internet but Java programs can -


i trying eclipse able access internet can install software, eclipse can't access internet. wrote simple java program accesses internet , able run fine. able browse internet via mozilla.

i trying access eclipse marketplace , giving me error:

cannot open eclipse marketplace cannot install remote marketplace locations: connection failed  caused problem internet connection. please check internet connection , retry. cannot complete request http://marketplace.eclipse.org/catalogs/api/p: unable connect repository http://marketplace.eclipse.org/catalogs/api/p unable connect repository http://marketplace.eclipse.org/catalogs/api/p connection timed out connection failed  caused problem internet connection. please check internet connection , retry. connection timed out 

i tried using internal web-browser , got same issue.

os: linux redhat

eclipse: neon or helios

there few posts similar problems on stack such here there many solutions problem , unsure os , firewall settings question kind of broad recommend trying suggestions post:

the service temporarily broken have problem firewall. these local or implemented isps. proxy http settings (if need one) incorrect. answer explains how adjust eclipse-internal proxy settings ... if problem lies. possible access may blocked over-active antivirus software. service have blacklisted net range , hosts ip address "collateral damage".

and

  1. go to

window-> preferences -> general -> network connection.

  1. change settings

active provider-> manual-> , check---> http, https , socks

could provide details on whether firewall blocking ports etc?

edit

theres solution similar problem here

it related ipv6 (dual stack) support in java 7. quickest solution (if dont need ipv6) turn ipv6 support off, appending vmargs argument of eclipse.ini file:

-vmargs -xmx512m ... -djava.net.preferipv4stack=true (end restart eclipse).

this may useful list remains exceedingly large on causing issue.


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -