Eikon Api Data: Port number was not identified. Check if Eikon Desktop or Eikon API Proxy is running

I have the Eikon Desktop running and I have the Eikon Api Data Key.

I go to Python and try to connect with Eikon and I obtain the error:

"Port number was not identified. Check if Eikon Desktop or Eikon API Proxy is running."

I do have the Eikon Desktop running which is what should be the solution, after reading other Q&As. So what am I doing wrong?

Best Answer

  • Jirapongse
    Jirapongse admin
    Answer ✓

    @manuzrp

    Refer to this thread discussion, please run the PowerShell script (checkeikondataapips1.txt) to verify the problem.

    You need to rename it to checkeikondataapi.ps1 and run it in the PowerShell command line. If you see the "running scripts is disabled on this system" error, you need to run the PowerShell command as Administrator to change the policy and then use the following command.

    Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope LocalMachine

    After running the script, you may need to change it back to Undefined.

    Set-ExecutionPolicy -ExecutionPolicy Undefined -Scope LocalMachine

    The script will verify the basic environment for Eikon Data API, such as Eikon Processes, listening ports, PortInUse file, and connection. Please run the script and share the created output.txt file.

Answers

  • Hi @manuzrp

    Are you current Eikon user ?

    Which variant of Eikon are you using?

    Are you by any chance using Metastock Xenith product rather than Eikon?

    Unfortunately you registered on this portal with a personal rather than corporate email address, which makes you anonymous to the moderators and impossible for us to check your Eikon account.

    Please also share currports output.

  • Hi,

    I have the same issue, please see my output.txt

    will appreciate your kind help.

    Thanks.

  • @guy.bramson

    Old threads with accepted answers are not monitored by forum moderators. Please start a new thread and post your question there. It would be helpful to know which version of Eikon Data APIs library you're using, which you can find out by executing el.__version__ command in your Python script.