Logstash with multiple input plugins

Hi,

I am trying to have multiple input plugins one is tcp and other is filebeat on the same logstash instance, but I see logs are only coming from the tcp port not from beats servers, logs . Below is the input configuration we tried, logstash-version-2.3.2 on linux aws instance. Is it because of port conflict??

////
input {
tcp {
port => 5044
codec => fluent
}
beats {
port => 5044
}
}
////

Below is the error its getting,

///
{:timestamp=>"2016-05-27T15:12:50.123000+0000", :message=>"Pipeline aborted due to err
or", :exception=>#<Errno::EADDRINUSE: Address already in use - bind - Address already
in use>,
///

Yes, you need to have the different inputs listening to different ports.

Thanks for the response @Christian_Dahlqvist