Interactive Brokers and TWS API Connection
Viewers,
I have attempted to connect the Designer and Terminal to the Trader work station after allowing active x connections. There is returned a error message
12:08:15 System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. [::ffff:127.0.0.1]:7497
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
at System.Net.Sockets.TcpClient.Connect(IPEndPoint remoteEP)
at System.Net.Sockets.TcpClient.Connect(String hostname, Int32 port)
--- End of stack trace from previous location ---
at System.Net.Sockets.TcpClient.Connect(String hostname, Int32 port)
at Ecng.Net.NetworkHelper.Connect(TcpClient client, EndPoint address)
at #=z0o8d9XAgtHF4nZD9bBhDLTWvn742DCe7Zw==.#=zdTPxXFI=(EndPoint #=zPrumxco=)
at StockSharp.InteractiveBrokers.InteractiveBrokersMessageAdapter.OnSendInMessage(Message message)
at StockSharp.Messages.MessageAdapter.SendInMessage(Message message)
How is the error mesage resolved?
Jacob Eli Goodson