I/o timeout filebeat when send data to logstash

if I run telnet {logstash_public_ip} 5044 I received: connection timeout
but when I run telnet {logstash_private_ip} 5044 from logstash vm I get

Copy to clipboard

Trying 10.0.2.10...
Connected to 10.0.2.10.
Escape character is '^]'.