Just google "How to find which service is listening on a given port" and you will get the key to know if that ports are being used by a java process or not.
/César. On Wed, Oct 5, 2011 at 7:03 PM, Dima Gutzeit <[email protected]>wrote: > 3.3.3 vanilla distribution, JDK 1.6.0_25, 64 bit. > Running on RedHat Enterprise 5.6, 64 bit. > > ZK is the only java process running on this machine and I did not do > anything to enable any kind of monitoring. > > Regards, > Dima Gutzeit. > > Sent from my iPhone > > On 5 באוק 2011, at 18:50, Patrick Hunt <[email protected]> wrote: > > > Same here. What version of what jdk on what os are you running? (hint: > > type "java -version"). Include the environment details that get output > > to the log when zk starts. > > > > Are you starting JMX or some other VM service that enables remote > monitoring? > > > > Did you try telneting to that port and type something, did it respond > > or generate some error in the log? > > > > Patrick > > > > On Mon, Oct 3, 2011 at 10:14 AM, Ted Dunning <[email protected]> > wrote: > >> I don't know, then. > >> > >> On Mon, Oct 3, 2011 at 10:04 AM, Dima Gutzeit > >> <[email protected]>wrote: > >> > >>> No, only one server is running and no clients connected. > >>> > >>> Regards, > >>> Dima Gutzeit. > >>> > >>> Sent from my iPhone > >>> > >>> On 3 באוק 2011, at 18:52, Ted Dunning <[email protected]> wrote: > >>> > >>>> Could they be the receiving side of the connections from two other > >>> members > >>>> of the ZK cluster? > >>>> > >>>> On Mon, Oct 3, 2011 at 9:03 AM, Dima Gutzeit < > >>> [email protected]>wrote: > >>>> > >>>>> Hi, > >>>>> > >>>>> I am running a ZooKeeper vanilla distribution on a linux machine. > Doing > >>>>> netstat I can see that server listens to the following ports: > >>>>> > >>>>> tcp 0 0 127.0.0.1:32000 0.0.0.0:* > >>>>> LISTEN 16929/java > >>>>> tcp 0 0 0.0.0.0:2181 0.0.0.0:* > >>>>> LISTEN 16929/java > >>>>> tcp 0 0 0.0.0.0:3888 0.0.0.0:* > >>>>> LISTEN 16929/java > >>>>> tcp 0 0 0.0.0.0:44635 0.0.0.0:* > >>>>> LISTEN 16929/java > >>>>> > >>>>> I can explain 2181 which is the client port and 3888 which is > >>>>> communication-between-nodes port.. What are the other two ? > >>>>> > >>>>> Thanks in advance. > >>>>> > >>>>> Regards, > >>>>> Dima Gutzeit. > >>>>> > >>> > >> >
