could you please share what configurations you have tried please.
First thing that comes to mind is that Logstash has to be listening on an address that can be reached from where Filebeat runs. If you are not using SSL, it is a pretty simple config. If you want or need SSL this might help.