how to set specific url insted of localhost in signalr

Tuesday, July 1, 2014

I'm using signalr in one of my project and I'm stuck with a problem currently I'm using signalr in windows service with url http://localhost:8080 and everything working fine but when I'm using my Ip insted of localhost like this http://ift.tt/1raz7sa its not working. I know I did something terrible I'm not so good with tcp/ip so please point me in the right direction my current code is given below



protected override void OnStart(string[] args)
{
string url = "http://ift.tt/1raz7sa";
WebApp.Start(url);
}


javascript



$.connection.hub.url = "http://ift.tt/TyG73I";






http://ift.tt/1luG5R3