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.

    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.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        670 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        379 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        111 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        575 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        582 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X