Metricbeat failed to connect with elasticsearch
[root@scw-elated-franklin ~]# sudo metricbeat test output
elasticsearch: http://51.77.:9200...
parse url... OK
connection...
parse host... OK
dns lookup... OK
addresses: 51.77..
dial up... ERROR dial tcp 51.77.:9200: connect: connection refused