Detect if websocket is installed on Windows Server 2012
<p>Is there any piece of code or program via which I can confirm whether WebSocket is correctly installed on my Windows Server 2012 server</p>

<p>I am facing an issue with WebSocket. It is not working on Windows Server 2012. I have already installed WebSockets on my Windows Server 2012</p>

<p><a href="https://i.stack.imgur.com/DQXKz.png" rel="noreferrer"><img src="https://i.stack.imgur.com/DQXKz.png" alt="enter image description here"></a></p>

<p>I have already restarted the server twice.</p>

<p>The proof that WebSocket is not working on my server is that my following url(which Signalr uses to decide whether WebSocket is on or not)</p>

<p><a href="http://abcdedf.com/signalr/default/negotiate?clientProtocol=1.5&amp;connectionData=%5B%7B%22name%22%3A%22myhub%22%7D%5D&amp;_=14530662444" rel="noreferrer">http://abcdedf.com/signalr/default/negotiate?clientProtocol=1.5&amp;connectionData=%5B%7B%22name%22%3A%22myhub%22%7D%5D&amp;_=14530662444</a> is returning the following response:</p>

<pre><code>{
Url: "/signalr/default",
ConnectionToken: "xxxx",
ConnectionId: "cf63a537-ed4a-4d29-afaf-f0aec454b0c2",
KeepAliveTimeout: 6,
DisconnectTimeout: 9,
ConnectionTimeout: 110,
TryWebSockets: false,
ProtocolVersion: "1.5",
TransportConnectTimeout: 5,
LongPollDelay: 0
}
</code></pre>

<p>i.e TryWebSockets: false</p>

<p>The same code on which the this application is running fine on my local Windows 8 Machine. It gives </p>

<p>TryWebSockets: true</p>

<p>IIS version on Windows Server 2012 is IIS 8.5. 
My site is running under .Net Framework 4.5. 
Windows Firewall is already off there. 
In my app settings I have added this too:</p>

<pre><code>  &lt;add key="aspnet:UseTaskFriendlySynchronizationContext" value="true" /&gt;
</code></pre>

<p>In my web.config I have this too:</p>

<pre><code> &lt;webSocket enabled="true"/&gt;
</code></pre>

<p>Is there any special setting needed on Windows Server 2012 to make WebSocket working?</p>

<p>Is there any tool to check whether WebSocket is enabled on my Windows Server 2012 server?</p>