Upgrade from Eikon -> Workspace. Learn about programming differences.

For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
16 1 1 3

Eikon python API Conflict on port 9000

Hello Team,

I hope you're doing good. We have an internal application using the port 9000 and it looks like it's the default port of the Eikon python API. It's causing some conflicts for some users, and we were wondering if you had documentation on the way Eikon handle ports ? And if we can manage that with some configuration files for example ?

Best regards,

eikon-data-apiport-number
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvote
Accepted
14.4k 30 5 10

Hi @theo.px ,

Thank you for participating in the forum by posting the question, as answered in this thread

You cannot change the port Eikon listens on for connections through Eikon Data API. The port is determined at the startup of Eikon. If port 9000 is occupied, Eikon tries port 9001, 9002 and so on until is finds the one that's not occupied. Then this port number is written into the file "%APPDATA%\Thomson Reuters\Eikon API Proxy\\.portInUse". Eikon Python library picks the port number it tries to connect on from this file, but you can also call set_port_number method to attempt the connection on the port explicitly specified by you.
You can see which port Eikon listens on by running "netstat -anb" as Administrator from the Command Prompt. In the output you're looking for the line:

TCP 127.0.0.1:9000 0.0.0.0:0 LISTENING
[Eikonbox.exe]


Please let me know in case you have any further questions.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.