Recently used. Net calls the WebService written in JavaWhen the WebService Service is deployed on the local machine, the Web reference of the external machine can be correctly added, the error "target machine actively refused" occurs! It's strange. It can run normally on the local machine. I checked it on the Internet. Most of them said it was a firewall or port problem. However, the Firewall was not opened at all and the ports were open. How can I still see the Access Denied error?
After studying for a long time, I finally found out the problem: the address in the generated WSDL file turned out to be localhost, so that when the external machine parses it, naturally, I will find the service from localhost, but where can I find the Service locally? Of course, it cannot be accessed. I am running it locally and will certainly be able to access it. OK. Change localhost to the Intranet or Internet IP address of the Local Machine. Try again!