On your server running logstash, check the logstash logs to see if there are any errors. If there are no errors, you may want to turn off your software firewall (firewalld on RHEL distro) on the server while testing. You may also want to check that selinux is not interfering by disabling it (if you are running a RHEL distro).
I hope those tips help. If not, open a new post with your configurations and the issue you are experiencing. We will be able to help you in your separate post. Good luck @sfio