Unable to connect to server localhost:27017: No connection could be made because the target machine actively refused it 127.0.0.1:27017.


at MongoDB.Driver.Internal.DirectConnector.Connect(TimeSpan timeout) in C:\Sistemas\notes\MongoDB\Driver\Internal\DirectConnector.cs:line 66 at MongoDB.Driver.MongoServer.Connect(TimeSpan timeout, ConnectWaitFor waitFor) in C:\Sistemas\notes\MongoDB\Driver\Core\MongoServer.cs:line 590 at MongoDB.Driver.MongoServer.Connect(TimeSpan timeout) in C:\Sistemas\notes\MongoDB\Driver\Core\MongoServer.cs:line 569 at MongoDB.Driver.MongoServer.Connect() in C:\Sistemas\notes\MongoDB\Driver\Core\MongoServer.cs:line 548 at MongoDB.Driver.MongoServer.Reconnect() in C:\Sistemas\notes\MongoDB\Driver\Core\MongoServer.cs:line 986 at RFG.Dao.MongoDao.BaseMongo.GetInstance() at RFG.Dao.MongoDao.ConteudoMongo..ctor() at RFG.Core.Manager.ConteudoManager.GetInstance() at RFG.Core.Web.Manager.ConteudoManagerWeb.GetInstance() at RFG.WebUI.Controllers.NoticiasController.Conteudo(Int32 codigoURL, String titulo) at lambda_method(Closure , ControllerBase , Object[] ) at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass15.b__12() at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters) at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) at System.Web.Mvc.Controller.ExecuteCore() at System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) at System.Web.Mvc.MvcHandler.<>c__DisplayClass6.<>c__DisplayClassb.b__5() at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass1.b__0() at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)