Cannot connect to MX4J port of Cassandra


This is the command that I ran my Cassandra docker instance. I exposed few ports. Only port 8082 is always connection refused. Other ports are fine. Port 8082 is MX4J port specified in the file.

docker run --name cass -p 8082:8082 -p 7199:7199 -p 9160:9160 -p 9042:9042 -d cass-sample

xxx xxx xxx xxx (us-cli): Connection refused

If you have any insight, please help.

Thank you!

Nevermind. I figured it out. Thank you.

1 Like

@candysmurfhub You may want to post the answer here for others to see, just in case.