API Support Forum
OEC API > API Support > Logging in
Author Topic: Logging in
(2 messages, Page 1 of 1)
Moderators: VPfau
RTymerski
Posts: 9
Joined: Jul 23, 2007


Posted: Oct 01, 2007 @ 06:34 AM             Msg. 1 of 2
I have an application that I have tested in the simulation environment; I log in using the statement:
oec.Connect("sim.openecry.com", 9200, "username", "password", true);
(I also have been successful in logging into api.opencry.com.)

When I try and log in to the live environment where the only difference in the application is that the Connect statement is changed to:
oec.Connect("oec.openecry.com", 9200, "username", "password", true);
I'm not successful in logging in. The error message returned is: "No connection could be make because the target machine actively refused it".

I can connect using the TraderOEC.

What else do I need to do to connect my application to oec.openecry.com server?
SergeK
-Developer-
Posts: 475
Joined: Jan 26, 2007


Posted: Oct 01, 2007 @ 08:38 AM             Msg. 2 of 2
you are using wrong hostname - please change to prod.openecry.com.