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 argusthome, 03-08-2026, 10:06 AM
        0 responses
        63 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        40 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        21 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        25 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        51 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X