Thursday, March 22, 2012

Web service stopped working

Hi,I have two web applications that run on the same server. Oneapplication publishes couple of web service methods. The otherapplication consumes this web service. Everything was working fine.Last week we moved our applications to a new server, behind a firewall.Ever since I get this error message from the second application thatconsumes the web service "The underlying connection was closed: Unableto connect to the remote server." Is there any firewall setting that iscausing this?Thanks.Well, try turning the firewall off... does it keep happening?

Hi,

I got the same problem so I deleted the web reference and added it again and it started working fine :)

The problem is that ASP.NET 2.0 built in server uses different ports to access the server. So, the port that you used yesterday might not be valid today.


I can't turn off the firewall and test it. its a hardware firewall,I don't have access to it. If I can be sure its the firewall blockingsome port, I can ask the ISP guys to open up the port.

I tried deleting and adding the reference. It did not help.


I would try using a packet analyzer or port monitor to see what ports the service is trying to use.

0 comments:

Post a Comment