Logstash not listening remote tcp port on Azure windows VM

I have deployed following components on Azure VM.

  1. logstash 5.4.0
  2. ElasticSearch 5.4.0
  3. kibana 5.4.0

It is running locally perfectly for TCP input plugin on VM.

input {
  tcp {
	 port => 52811
 host => ""
output {
  elasticsearch { hosts => [""] }
  stdout { codec => rubydebug }

but when I am trying call logstash from my local machine using NLog with config.

<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
    <target name="network" xsi:type="Network" address="tcp://{hostname}:52811" layout="${level} ${logger} ${message}${newline}" />
     <logger name="*" minlevel="Trace" writeTo="network" />

I have set firewall setting for tcp port 52811 on VM.

It is not working..

Please help me..

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.