Beats not able to connect with Logstash

Thanks Badger for the quick response. I have tried this solution mentioned here and it worked for me. Thanks a lot for quick help.