This is probably related to proxy settings.
Do you have a proxy ?
Do you have to go through a proxy to get access to the internet ?
Try doing this : Start -> Run -> inetcpl.cpl -> Connections -> LAN Settings
You should get something like this :

Do you have something there ?
System Proxy Settings - The easy way
Normally, if you have setup the system proxy settings there (inetcpl.cpl
), those should automatically be picked up by Eclipse and should be categorized as Native under General -> Network Connections -> Active Provider
:

Then native settings are those that are checked and can be distinguished as those with a slight yellowish background.
This would require that :
1. You check and setup the system proxy settings by configuring the same in Start -> Run -> inetcpl.cpl
and then by going to Connections -> LAN Settings
and then filling in the values for Address
and Port
like so :

- Restart Eclipse. Then goto General -> Network Connections` and choose the Native Provider.
This method is most useful when you have complicated proxy settings with lot's of exclusions.
Manually setting proxy settings - The not-so-easy way
With this method, we'll setup the proxy settings only within eclipse like so :
- Goto
General -> Network Connections
in eclipse preferences.
- Choose
Manual
for the Active Provider
. As soon as you do that, you'll see that the checked settings under Proxy entries
changes like so :

- Finally, edit the individual proxy settings by clicking on
HTTP
for example, and then clicking on Edit...
and filling in the values for your proxy server, like so :

Using either of the above methods you should be able to get your eclipse connected to the internet.