This is the issue when I'm running logstash and I need to import data from log file in api server to elasticsearch using logstash.
It looks like you already have something listening on port 5044 before you start up Logstash. So Logstash is unable to bind to that port.
