Today, the websocket was enabled on our ADS server and I am using ws://{IPaddress}:15000/websocket to try to connect to the websocket server but not able to connect to it. Receiving below error:
System.Net.Sockets.SocketException (0x80004005): 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 159.43.120.70:15000
at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port)
at WebSocketSharp.WebSocket.setClientStream()
at WebSocketSharp.WebSocket.doHandshake()
at WebSocketSharp.WebSocket.connect()
I am using below sample code to try and test the connection but its failing. Can you please advise what could be the issue here?
websocket-api/MarketPriceExample.cs at master · Refinitiv/websocket-api · GitHub