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 2 2 4

InternalServerError: No connection could be made because the target machine actively refused it

Code (in C#) has been running successfully each working day since July 2020. Today I had to recreate my Windows User Profile and now my code won't run. Any ideas?

Full error message is: "InternalServerError: No connection could be made because the target machine actively refused it 127.0.0.1:36036"

Please note:

  • I am running Eikon desktop (not web app) and am logged in
  • I checked the API key which is unchanged from that which is in my code
eikon-data-apirefinitiv-dataplatform-eikonerrorc#
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.

Upvote
Accepted
78.8k 250 52 74

@m.ward

You can verify if the API Proxy is running by accessing the following URLs via a web browser.

The output looks like this:

1639628604741.png


1639628581910.png

If you can access those URLs, you can specify the TPC port used by the Eikon Data API .NET by using the following code.

eikon.SetPort(9060);
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.

Upvotes
3 2 2 4

Thanks @Jirapongse

When I click on either of those links I get '127.0.0.1 refused to connect. '

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.

i have the same problem. I tested both

and they are fine.

But still see

No connection could be made because the target machine actively refused it 127.0.0.1:36036

How to solve the problem?

Upvotes
14.2k 30 5 10

Hi @m.ward and @smajumdar1

Can you please try restarting your machine and Eikon Data API then retry running the code again and please tell us if the issue still persists?

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.

Upvotes
3 2 2 4

@Jirapongse - thanks for your answer, adding the port number fixed the issue.

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.