I am doing Hands on Lab 33(WSE 2 chat program, last exercise) . When I run
the 2 .exe's on same machine, the chat program works fine. But when I run the
same exe on 2 different machines(within intranet),the chat clients are not
able to communicate. I tried disabling the Windows firewall too, but it
didn't help.
Here's the exception.
System.Net.Sockets.SocketException: A connection attempt failed because the
connected party did not properly respond after a period of time, or
established connection failed because connected host has failed to respond
at Microsoft.Web.Services2.Messaging.SoapTcpConnectio n.Connect()
at Microsoft.Web.Services2.Messaging.SoapTcpConnectio n..ctor(Uri
remoteEndpoint, SoapTcpTransportOptions options, ISoapFormatter formatter)
at Microsoft.Web.Services2.Messaging.SoapTcpTransport .GetConnection(Uri
destination)
at
Microsoft.Web.Services2.Messaging.SoapTcpOutputCha nnel.Send(SoapEnvelope
message)
at Microsoft.Web.Services2.Messaging.SoapSender.Send( SoapEnvelope envelope)
at WseChat.Form1.btnSend_Click(Object sender, EventArgs e)