帮助,我在尝试连接到网络服务时遇到此错误
System.Net.WebException: Unable to connect to the remote server
System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it xx.xxx.XXX.XXX:80 at
System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at
System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) --- End of inner exception stack trace --- at
System.Net.HttpWebRequest.GetRequestStream(TransportContext& context) at
System.Net.HttpWebRequest.GetRequestStream() at
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at WebServiceCloudRole.JoomlaService.servicewsdl.saveUserRegistration(String name, String lastname, String contactno, String username, String email, String organizationname, String organizationurl, String address1, String address2, String city, String state, String country, String postalcode, String srole, String sothrole, String startdate, String expirydate, String skucode, String productid, String paymentstatus, String subscriptiontype, String amountpaid, String licenseref, String userregistertype, String token) at WebServiceCloudRole.WebServiceCloud1.CreatePrimaryCaregiverRole(String sFirstName, String sLastName, String sMailTo, String sRole, String sOtherRole, String Credential)