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 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 = "";


$.connection.hub.url = "";