1

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

sag
  • 21
  • 1
  • 3

2 Answers2

1

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

frbl
  • 1,172
  • 11
  • 17
1

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)

Community
  • 1
  • 1
Schildmeijer
  • 20,702
  • 12
  • 62
  • 79