No connection could be made because target machine actively refused it 127.0.0.1:xxxx

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Manikrag
    New Member
    • Jun 2009
    • 62

    No connection could be made because target machine actively refused it 127.0.0.1:xxxx

    Hi Team,

    I am facing an issue which is driving me crazy: I am trying to use a API for injecting some DB info. to an external system. I can call one of the function which is directing to a URL after all processingsand its working all fine. Issue is with other functions whcih are updating/deleting information to the external system. I am pasting the error below, please have a look and let me know the nature of the issue. I did google it for a day and I found that it could be something related with Network(any side) but did not get the solution.

    No connection could be made because the target machine actively refused it 127.0.0.1:8083
    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.Sock ets.SocketExcep tion: No connection could be made because the target machine actively refused it 127.0.0.1:8083

    Source Error:


    Line 132: else
    Line 133: {
    Line 134: throw ex;
    Line 135: }
    Line 136: }


    Source File: d:\dev_sites\Fo rmsAuthAD\EditU serTest.aspx.cs Line: 134

    Stack Trace:


    [SocketException (0x274d): No connection could be made because the target machine actively refused it 127.0.0.1:8083]
    System.Net.Sock ets.Socket.DoCo nnect(EndPoint endPointSnapsho t, SocketAddress socketAddress) +1073657
    System.Net.Sock ets.Socket.Inte rnalConnect(End Point remoteEP) +33
    System.Net.Serv icePoint.Connec tSocketInternal (Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketSt ate state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) +217

    [WebException: Unable to connect to the remote server]
    EditUserTest.Pa ge_Load(Object sender, EventArgs e) in d:\dev_sites\Fo rmsAuthAD\EditU serTest.aspx.cs :134
    System.Web.Util .CalliHelper.Ev entArgFunctionC aller(IntPtr fp, Object o, Object t, EventArgs e) +15
    System.Web.Util .CalliEventHand lerDelegateProx y.Callback(Obje ct sender, EventArgs e) +33
    System.Web.UI.C ontrol.OnLoad(E ventArgs e) +99
    System.Web.UI.C ontrol.LoadRecu rsive() +47
    System.Web.UI.P age.ProcessRequ estMain(Boolean includeStagesBe foreAsyncPoint, Boolean includeStagesAf terAsyncPoint) +1436
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    The computer that the code is running on does not have a server listening on port 8083.
    Since this is a webpage, that code is running on your webserver machine, not the client viewing the webpage

    Comment

    Working...