NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > Application Technical Support > Automated Trading

Automated Trading Support for automated trading systems using NinjaScript. Support for our ATI (Automated Trading Interface) used to link an external application such as TradeStation and eSignal to NinjaTrader.

Reply
 
Thread Tools Display Modes
Old 03-21-2010, 05:30 PM   #1
trader1996
Junior Member
 
Join Date: Oct 2009
Posts: 20
Thanks: 0
Thanked 0 times in 0 posts
Default Unable to coonect to NinjaTrader

Hello,

I wrote a java programm that connects to NinjaTrader using the DLL. It works fine on my developing laptop (windows xp). But when I run the programm on my trading computer (windows vista) I got the following error

"Unable to connect to NinjaTrader (localhost/36973). Please make sure NinjaTrader is running"

The "AT Interface" in file menu is on and a connection to "Simulated Data Feed" is established.

Do you have an idea?

Thanks.

Regards,
Markus
trader1996 is offline  
Reply With Quote
Old 03-21-2010, 11:09 PM   #2
NinjaTrader_Ben
NinjaTrader Customer Service
 
NinjaTrader_Ben's Avatar
 
Join Date: May 2008
Location: Denver, CO
Posts: 3,157
Thanks: 0
Thanked 3 times in 3 posts
Default

Hello,

Can you connect via file>connect?
Have you tried turning off your ATI and simulated data feed:
File>disconnect > simulated data feed
File>AT interface
NinjaTrader_Ben is offline  
Reply With Quote
Old 03-22-2010, 05:38 AM   #3
trader1996
Junior Member
 
Join Date: Oct 2009
Posts: 20
Thanks: 0
Thanked 0 times in 0 posts
Default

Hello,

yes, I can connect via file>connect.

I turned on/off data feed and ATI several times. But the connection problem is still there.

Might that be a problem of windows vista or Norton Internet Security 2010?

What else can I do?

Thanks.

Regards,
Markus
trader1996 is offline  
Reply With Quote
Old 03-22-2010, 09:22 AM   #4
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

Markus,

It could be firewall/antivirus. Can you please try turning those off temporarily?
NinjaTrader_Josh is offline  
Reply With Quote
Old 03-24-2010, 04:01 PM   #5
trader1996
Junior Member
 
Join Date: Oct 2009
Posts: 20
Thanks: 0
Thanked 0 times in 0 posts
Default

Hello,

I solved the problem. I need to use the IP 127.0.0.1 instead of localhost to get a connection to NinjaTrader. Now it works fine.

Regards,
Markus
trader1996 is offline  
Reply With Quote
Old 02-24-2011, 03:46 PM   #6
sung87wook
Junior Member
 
Join Date: Nov 2010
Posts: 4
Thanks: 0
Thanked 0 times in 0 posts
Default

Hello,

I am having the exact same problem. However, I am connecting through the 127.0.0.1 and am still getting the same error message.
Are there any other solutions?
Thanks in advance
sung87wook is offline  
Reply With Quote
Old 02-24-2011, 04:40 PM   #7
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

sung87wook,

Please check if you have any firewalls or other blocking type of software running. Please try disabling them.
NinjaTrader_Josh is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Coonect at startup auto gator-trader Connecting 1 08-23-2009 05:07 PM
Forex.com UK Clients unable to use Ninjatrader akebono Connecting 4 06-30-2009 01:58 PM
Unable to connect to NinjaTrader (127.0.0.1/36973)??? arbifox Connecting 3 04-30-2008 07:29 AM
Unable to query COM methods via Ninjatrader at ccie8340 Automated Trading 12 08-06-2007 05:38 AM
Unable to access ninjatrader windows ninjauser Miscellaneous Support 2 10-16-2006 02:54 AM


All times are GMT -6. The time now is 11:22 AM.