APP cannot connect to server port 9000... target machine is actively refusing it

my App_key couldn't connect to the server. When I did a netstat, eikonbox is not listening to 9000.

Error Message Below:

Error on checking port 9000 : HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /api/v1/data (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at XXXX>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))

Best Answer

  • Zhenya Kovalyov
    Answer ✓

    @calvin.lam first thing to check is that you are on the latest version of the python library (1.0.0). After that I suggest to check if .portInUse file exists. As Eikon API Proxy initializes, it writes a port that it is using into this location:

    %APPDATA%\Thomson Reuters\Eikon API Proxy\.portInUse

    ```%APPDATA%``` should resolve into ```C:\Users\user_name\AppData\Roaming```.

    Do you see a port number ? It would be helpful if you share the contents of the log file in this folder:

    %APPDATA%\Thomson Reuters\Eikon API Proxy\Logs\

Answers