Server Error in '/' Application.

No connection could be made because the target machine actively refused it 136.243.10.167:27017

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 136.243.10.167:27017

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[SocketException (0x274d): No connection could be made because the target machine actively refused it 136.243.10.167:27017]
   System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) +255
   System.Net.Sockets.Socket.Connect(EndPoint remoteEP) +153
   System.Net.Sockets.TcpClient.Connect(IPEndPoint remoteEP) +88
   MongoDB.Driver.Internal.MongoConnection.Open() +183
   MongoDB.Driver.Internal.MongoConnection.SendMessage(BsonBuffer buffer, Int32 requestId) +321
   MongoDB.Driver.Internal.MongoConnection.SendMessage(MongoRequestMessage message) +174
   MongoDB.Driver.Operations.CommandOperation`1.Execute(MongoConnection connection) +244
   MongoDB.Driver.MongoServerInstance.Ping(MongoConnection connection) +362
   MongoDB.Driver.MongoServerInstance.Connect() +492
   MongoDB.Driver.Internal.DirectMongoServerProxy.Connect(TimeSpan timeout, ReadPreference readPreference) +338

[MongoConnectionException: Unable to connect to server maxymizely.com:27017: No connection could be made because the target machine actively refused it 136.243.10.167:27017.]
   MongoDB.Driver.Internal.DirectMongoServerProxy.Connect(TimeSpan timeout, ReadPreference readPreference) +1038
   MongoDB.Driver.Internal.DirectMongoServerProxy.ChooseServerInstance(ReadPreference readPreference) +112
   MongoDB.Driver.MongoServer.AcquireConnection(ReadPreference readPreference) +249
   MongoDB.Driver.MongoCursorConnectionProvider.AcquireConnection() +33
   MongoDB.Driver.Operations.QueryOperation`1.GetFirstBatch(IConnectionProvider connectionProvider) +129
   MongoDB.Driver.Operations.QueryOperation`1.Execute(IConnectionProvider connectionProvider) +38
   System.Linq.Enumerable.FirstOrDefault(IEnumerable`1 source) +127
   MongoDB.Driver.MongoCollection.FindOneAs(FindOneArgs args) +545
   Maxymizely.AB.Proxy.MainHandler.GetApplicationById(Int32 id) in D:\DataBrain\Maxymizely.AB.Proxy\MainHandler.ashx.cs:120
   Maxymizely.AB.Proxy.MainHandler.GenerateStandartAnalyticScript(HttpContext context, Int32 Id, String path) in D:\DataBrain\Maxymizely.AB.Proxy\MainHandler.ashx.cs:559
   Maxymizely.AB.Proxy.MainHandler.GetStandartWorkScript(HttpContext context, Int32 Id) in D:\DataBrain\Maxymizely.AB.Proxy\MainHandler.ashx.cs:2419
   Maxymizely.AB.Proxy.MainHandler.ProcessRequest(HttpContext context) in D:\DataBrain\Maxymizely.AB.Proxy\MainHandler.ashx.cs:2226
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +508
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +92


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1069.1