No connection could be made because the target machine actively refused

I got the similar error , eventhough the elastic search is running well in our product box. please help.

"Invalid NEST response built from a unsuccessful low level call on GET: /apifrecord360%2A/_settings\r\n# Audit trail of this API call:\r\n - [1] BadResponse: Node: http://XXXXXXX.cloudapp.azure.com:9200/ Took: 00:00:21.4285309\r\n# OriginalException: System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: 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 xx.xxx.xx.xx:8080\r\n at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)\r\n at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)\r\n --- End of inner exception stack trace ---\r\n at System.Net.HttpWebRequest.GetResponse()\r\n at Elasticsearch.Net.HttpConnection.Request[TReturn](RequestData requestData) in C:\Projects\elastic\net-5\src\Elasticsearch.Net\Connection\HttpConnection.cs:line 164\r\n# Request:\r\n<Request stream not captured or already read to completion by serializer. Set DisableDirectStreaming() on ConnectionSettings to force it to be set on the response.>\r\n# Response:\r\n<Response stream not captured or already read to completion by serializer. Set DisableDirectStreaming() on ConnectionSettings to force it to be set on the response.>\r\n"

the following is my connectsettings:

node = new Uri((Properties.Settings.Default.URI));
var settings = new ConnectionSettings(node).RequestTimeout(TimeSpan.FromMinutes(2));
client = new ElasticClient(settings);