I have under this subnet to vms
kibana vm and logsash vm with the same NSG.
I can connect to kibana with his pubilc ip and port 5044 but I still can't connect to logstash with his public ip
so I think its not a problem of nsg.
Option 2 doesn't work either
Option 3: put in Local IP address my logstash private ip in port 5044 and Remote IP address the public ip that another machine with port 5044?
If yes its work
Option 4: I tried and it doesn't work
I managed to resolve this by creating a new inbound rule on the NSG with the public IP of the server set as it's source and then of course the relevant port in question: I tried and it doesn't work
when I compare between kibana vm and logstash vm I saw that the kibana has DNS name and logstah dosn't
maybe this is the problem?