i try to host a wcf service thru console by giving the external ip in uri for client consume it as endpoint, but i had this error :
Could not connect to http://115.133.x.x:8000/GetMsg/GetMsgC. TCP error code 10060: 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 115.133.x.x:8000.
static void Main(string args)
using (host = new ServiceHost(typeof(GetMsgC), new Uri("http://115.133.x.x:8000/GetMsg")))
host.AddServiceEndpoint(typeof(IGetMsg), new BasicHttpBinding(), "GetMsgC");
View Complete Post