Send beat logs from client to ELK server

I have three machines

  1. RedHAT (ELK Server)
  2. MS Server 2012 R2
  3. Ubuntu

I have setup ELK on the REDHAT server. Then I have set up topbeat and packetbeat in all machines. I have changed the topbeat.yml and packet.yml in all machines so as to send the logs to ELK server via elasticsearch. However, I can only read data from my local ELK server but cant read any data from other Servers

Any ways to resolve it?
Thanks

Didn't you ask the same thing here - Connection errors if not "localhost" used ?

Oh yes, I will delete the post soon.