storm-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrea Cardaci <>
Subject Change Storm binding address in local mode
Date Sun, 01 Dec 2019 19:11:04 GMT

Storm (or some of its services) listens on the TCP port 2000 during
the local execution. I'm using a LocalCluster and I'm submitting the
topology programmatically.

Logs say:

> 19:53:52.945 [main] INFO  o.a.s.s.o.a.z.s.NIOServerCnxnFactory - binding to port
> 19:53:52.947 [main] INFO  o.a.s.z.Zookeeper - Starting inprocess zookeeper at port 2000
and dir /tmp/ea232187-2a1d-4a82-8472-b5c0335d0b4f

The sockets listen on and since I need to run some
long-running tests on an Internet-facing machine I was wondering how
to make it listen on localhost instead or if there is anything else I
can do to improve the security in this scenario.

I tried altering the daemon configuration like the following with no
luck (yes that would change the port not the address; it was just a

LocalCluster cluster = new LocalCluster.Builder()
        .withDaemonConf(Config.STORM_ZOOKEEPER_PORT, 1234)

Any hint will be greatly appreciated.


View raw message