I just download "Java Code Examples" and I try to run it on my eclipse with
jdk8 and my user/login datascope.
But when I try to run this program I have this error :
On internet explorer I can access to it, but when I ping in windows prompt I have host unknow.
How can I do?
Do I have to ask changes for proxy/dns at my work place?
From the description, it looks like your machine is behind a proxy/firewall.
You will have to modify the DSS sample to allow for the proxy server -- something like:
HttpHost proxy = new HttpHost(proxy_ip_address, proxy_port); httpclient.getParams().setParameter(ConnRoutePNames.DEFAULT_PROXY, proxy);
See Apache HTTP client for more information.
It means your Java application cannot resolve "hosted.datascopeapi.reuters.com" into an IP address. It doesn't mean the address cannot be accessed, it means it cannot be resolved. Can you do a successful resolve from Windows command prompt:
On my machine it returns the IP : 188.8.131.52.