Exception:An error occurred while sending the request.Unable to connect to the remote server由于目标计算机积极拒绝,无法连接。 123.207.77.50:25678

报错信息 1
HttpRequestException: An error occurred while sending the request.
StackTrace:
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at DynamicClass.<API_SearchRole>d__dd.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at DynamicClass.<Tab_bar_SelectionChanged>d__2b.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

WebException: Unable to connect to the remote server
--Status: ConnectFailure
StackTrace:
   at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context)
   at System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult ar)

SocketException: 由于目标计算机积极拒绝,无法连接。 123.207.77.50:25678
--ErrorCode: 10061
--Message: 由于目标计算机积极拒绝,无法连接。 123.207.77.50:25678
--SocketErrorCode: ConnectionRefused
StackTrace:
   at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)
   at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)

版本:1.44.55 2026-01-22 08:57 Microsoft Windows NT 6.1.7601 Service Pack 1