Filebeat error for port ERROR: Address already in use

While running the logstash I'm getting an issue of "A plugin had an unrecoverable error. Will restart this plugin."

</ [2023-06-20T10:37:52,046][INFO ][org.logstash.beats.Server][main][f36c0056714d92177d9fb7e027196d5cebe3f00bc21c0db2736b49400820de5b] Starting server on port: 5085
[2023-06-20T10:37:58,068][ERROR][logstash.javapipeline ][main][f36c0056714d92177d9fb7e027196d5cebe3f00bc21c0db2736b49400820de5b] A plugin had an unrecoverable error. Will restart this plugin.
Pipeline_id:main
Plugin: <LogStash::Inputs::Beats port=>5085, id=>"f36c0056714d92177d9fb7e027196d5cebe3f00bc21c0db2736b49400820de5b", enable_metric=>true, codec=><LogStash::Codecs::Plain id=>"plain_e8924b03-ba59-4caf-9958-f7eebbd7f2f6", enable_metric=>true, charset=>"UTF-8">, host=>"0.0.0.0", ssl=>false, add_hostname=>false, ssl_verify_mode=>"none", ssl_peer_metadata=>false, include_codec_tag=>true, ssl_handshake_timeout=>10000, tls_min_version=>1, tls_max_version=>1.2, cipher_suites=>["TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384", "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256", "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256"], client_inactivity_timeout=>60, executor_threads=>8>
Error: Address already in use
Exception: Java::JavaNet::BindException
Stack: sun.nio.ch.Net.bind0(Native Method) />

Hi @yogesh.gangwar,

Welcome to the community! Thank you for your question. Can you share your configuration?

It looks like that port is already in use by another process on the host. Can you check you're not running multiple Filebeats or other processes with the same port, or change the configuration to another port?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.