You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by sunil chaudhari <su...@gmail.com> on 2020/02/21 11:08:16 UTC
Port already in use
Hi,
I just enlabled the Jmx port in kafka broker.
Since then I am not able to run utilities under /bin
Example when I run
./kafka-topics.sh —create........
Then it throws bindException port already in use 9099
Before it was running.
Same thing happening for perf test utilities under /bin.
Please help. How can i run those utilities with JMx port ON.
Regards,
Sunil.
Re: Port already in use
Posted by sunil chaudhari <su...@gmail.com>.
I have used this port to emable jmx while starting kafka.
Kafka started properly. I can see metrics on kafka manager console. Uptill
now its fine.
However when I started using utilities under /bin for some testing, those
are not running.
This has happened because i enable jmx port 9099.
When you say change port, then what does it
Mean?
Port of kafka jmx-port?
On Fri, 21 Feb 2020 at 5:18 PM, Karolis Pocius
<ka...@sentiance.com.invalid> wrote:
> Choose a different port or check what's already listening on 9099 using
> something like: `ss -tunapl | grep 9099`
>
> On Fri, Feb 21, 2020 at 1:08 PM sunil chaudhari <
> sunilmchaudhari05@gmail.com>
> wrote:
>
> > Hi,
> > I just enlabled the Jmx port in kafka broker.
> > Since then I am not able to run utilities under /bin
> > Example when I run
> > ./kafka-topics.sh —create........
> > Then it throws bindException port already in use 9099
> >
> > Before it was running.
> > Same thing happening for perf test utilities under /bin.
> >
> > Please help. How can i run those utilities with JMx port ON.
> >
> > Regards,
> > Sunil.
> >
>
Re: Port already in use
Posted by Karolis Pocius <ka...@sentiance.com.INVALID>.
Choose a different port or check what's already listening on 9099 using
something like: `ss -tunapl | grep 9099`
On Fri, Feb 21, 2020 at 1:08 PM sunil chaudhari <su...@gmail.com>
wrote:
> Hi,
> I just enlabled the Jmx port in kafka broker.
> Since then I am not able to run utilities under /bin
> Example when I run
> ./kafka-topics.sh —create........
> Then it throws bindException port already in use 9099
>
> Before it was running.
> Same thing happening for perf test utilities under /bin.
>
> Please help. How can i run those utilities with JMx port ON.
>
> Regards,
> Sunil.
>