When I access the MVC application error occurs when this application attempts to consume the Web API, the following error occurs:
Nenhuma conexão pôde ser feita porque a máquina de destino as recusou ativamente 127.0.0.1:24777
[SocketException (0x274d): Nenhuma conexão pôde ser feita porque a máquina de destino as recusou ativamente 127.0.0.1:24777]
System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult) +6641121
System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception) +271
[WebException: Impossível conectar-se ao servidor remoto]
System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context) +2263386
System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult ar) +106
[HttpRequestException: An error occurred while sending the request.]
Can the Web API action timeout now?