asp.net - SignalR not functioning on server -


i have windows service made through visual studio in c#. uses signalr connect sql database , receive notifications. however, when deploy service onto server (windows server 2008r2), doesn't function. server server hosting sql server too.

this self-hosted signalr service. not using iis or of run. packaged simple windows service. therefore, doesn't have issues typical mvc, iis hosted apps (such /signalr/hubs pathing, web.config etc.)

on development computer, use wan ip of sql server connect database. when run it, it's supposed , fires off notification everytime server changes.

on server itself, service installs fine, doesn't fire off notifications. left ip wan ip developmental services , planning change localhost, etc. once works not.

for now, left service running on development computer, , it's working great. i'd prefer on server though, since that's computer online.

any hints or ideas on why works on development computer not server?

thanks!

[edit] i'm using windows 7 visual studio 2013 development setup. service running on localhost:2165 (arbitrary port). able access address via web browser on server itself.

you don't state development operating system is, if using websockets, need have minimum of windows 8 or windows server 2012.

from documentation, supported platforms are (emphasis mine):

supported server iis versions

when signalr hosted in iis, following versions supported. note if client operating system used, such development (windows 8 or windows 7), full versions of iis or cassini should not used, since there limit of 10 simultaneous connections imposed, reached since connections transient, re-established, , not disposed upon no longer being used. iis express should used on client operating systems.

also note signalr use websocket, iis 8 or iis 8 express must used, server must using windows 8, windows server 2012, or later, , websocket must enabled in iis. information on how enable websocket in iis, see iis 8.0 websocket protocol support.


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -