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
3 0 0 2

How do I change the port for Eikon Data API?

Default port 9000 is already used by another app. How can i change the port Eikon listens to?

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-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
Upvotes
Accepted
39.4k 77 11 27

You cannot change the port Eikon listens on for 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]

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.