Why am I getting java.net.UnknownHostException: hosted.datascopeapi.reuters.com ?

I've downloaded the java example and tried to execute DSS2Token,java but instead of getting a token, I got an exception.

PS : We received valid TRTH V2 user today.

Thanks

Best Answer

  • zoya faberov
    zoya faberov ✭✭✭✭✭
    Answer ✓

    Looks like you are not able to resolve host hosted.datascopeapi.reuters.com

    Are you able to run DOS command shell as admin, and try pinging it, to see if it's resolved into an IP address?

    C:\Windows\system32>ping hosted.datascopeapi.reuters.com


    Pinging hosted.datascopeapi.reuters.com [192.165.219.152] with 32 bytes of data:

    Request timed out.
    Request timed out.
    Request timed out.
    Request timed out.

    Ping statistics for 192.165.219.152:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),


    C:\Windows\system32>