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 cassandra-env.sh 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.