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 > Connecting

Connecting Support for establishing connections to your broker or market data service provider.

Reply
 
Thread Tools Display Modes
Old 04-17-2012, 11:45 AM   #1
dax3k
Junior Member
 
Join Date: Feb 2009
Posts: 10
Thanks: 0
Thanked 0 times in 0 posts
Default Unable to Connect to IB (TWS 921.5 & Ninja 7.0.1.0)

Hi,

I have followed all the instructions outlined in ...
http://www.ninjatrader.com/Connectio...tion-Guide.php

But I keep getting the following error message:
"Login failed: IB.Adapter.MessageLoop No connection could be made because the target machine actively refused it 127.0.0.1:7496"

On the log tab of Ninjatrader I see the following highlighted in yellow:
"Interactive Brokers: IB.Adapter.MessageLoop No connection could be made because the target machine actively refused it 127.0.0.1:7496(Panic)"

Running on Windows 7 Ultimate 64-bit. TWS v921.5 and Ninjatrade v.7.0.1000.9

I've been on this for 2 days now with no progress whatsoever. Uninstalled multiple times each program with no success.

Also disabled the firewall completely, but nothing.

I'm a paying member of Ninja and would really appreciate a quick resolution to this problem.

Thanks!
dax3k is offline  
Reply With Quote
Old 04-17-2012, 11:51 AM   #2
NinjaTrader_Brandon
NinjaTrader Customer Service
 
NinjaTrader_Brandon's Avatar
 
Join Date: Nov 2011
Location: Denver, CO
Posts: 280
Thanks: 6
Thanked 42 times in 42 posts
Default

Hello dax3k,

Thanks for writing in.

Please change the setting for the 'Host (optional)' field from 127.0.0.1 to localhost in your Interactive Broker's connection.

To do this go to Tools> Account Connections
Select your Interactive Brokers connection and press Change
Press Next on the Manage an existing connection & General screen
Change the setting for the 'Host (optional)' field from 127.0.0.1 to localhost
Press Next and Finish

Once complete attempt to connect to Interactive Brokers again.

I look forward to hearing if that worked for you.
NinjaTrader_Brandon is offline  
Reply With Quote
Old 04-17-2012, 06:42 PM   #3
dax3k
Junior Member
 
Join Date: Feb 2009
Posts: 10
Thanks: 0
Thanked 0 times in 0 posts
Default

Hi Brandon,

Thank you for your reply.

I tried exactly what you told me but still nothing. I got the same error message.

Is there a possibility to provide remote assistance via Teamviewer?

Thank you,
dax3k is offline  
Reply With Quote
Old 04-18-2012, 02:42 AM   #4
NinjaTrader_Jason
NinjaTrader Customer Service
 
NinjaTrader_Jason's Avatar
 
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,240
Thanks: 83
Thanked 338 times in 330 posts
Default

Hello dax3k,

Can you please check if the TWS API options are configured as reflected in the IB connection guide below.
http://www.ninjatrader.com/Connectio...tion-Guide.php

The error you experience can occur when 'Enable ActiveX and Socket Clients' is not enabled.

If the issue remains, please send us an email at support[at]ninjatrader[dot]com. Please include what time (+ time zone) you are available for a remote session.
NinjaTrader_Jason 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
TWS 921.5/NT9: no historical data in NT gbulle Connecting 3 03-13-2012 10:50 AM
TWS 921.5 bug: Advanced combo routing zweistein Connecting 1 02-17-2012 04:30 AM
Ninja crash & unable to connect debbieg100 Connecting 19 09-21-2009 05:27 AM
Issue with Ninja Trader & IB TWS tradertool Miscellaneous Support 1 03-05-2008 10:13 PM
Unable to connect to TWS SellUmHi Connecting 10 04-26-2006 06:55 AM


All times are GMT -6. The time now is 05:08 AM.