Reputation: 21
I m new to cassandra. Where is the port number 8080 is stored? how can i change the port number?
Hello Schildmeijer,
i m not getting this : -Dcom.sun.management.jmxremote.port=8080 (%JAVA_OPTS%) can u please explore more
Upvotes: 1
Views: 2599
Reputation: 1292
In OSX (and I guess also in Linux), this port is now located in /conf/cassandra-env.sh
. You can change it by changing the JMX_PORT
variable (line 165 in my case).
-frbl
Upvotes: 1
Reputation: 20946
Check this question
8080 is used for remote JMX connection
Windows: cassandra.bat, -Dcom.sun.management.jmxremote.port=8080 (%JAVA_OPTS%)
Linux: cassandra.in.sh, -Dcom.sun.management.jmxremote.port=8080 ($JVM_OPTS)
Upvotes: 1