Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unable to Connect to IB (TWS 921.5 & Ninja 7.0.1.0)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Unable to Connect to IB (TWS 921.5 & Ninja 7.0.1.0)

    Hi,

    I have followed all the instructions outlined in ...


    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!

    #2
    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.
    BrandonNinjaTrader Customer Service

    Comment


      #3
      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,

      Comment


        #4
        Hello dax3k,

        Can you please check if the TWS API options are configured as reflected in the IB connection guide below.


        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.
        JasonNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by AaronKoRn, Today, 09:49 PM
        0 responses
        6 views
        0 likes
        Last Post AaronKoRn  
        Started by carnitron, Today, 08:42 PM
        0 responses
        9 views
        0 likes
        Last Post carnitron  
        Started by strategist007, Today, 07:51 PM
        0 responses
        10 views
        0 likes
        Last Post strategist007  
        Started by StockTrader88, 03-06-2021, 08:58 AM
        44 responses
        3,977 views
        3 likes
        Last Post jhudas88  
        Started by rbeckmann05, Today, 06:48 PM
        0 responses
        9 views
        0 likes
        Last Post rbeckmann05  
        Working...
        X