How do I get a Cassandra node to show the IPv4 address in the nodetool status output?

Author: Youjie

Originally Sourced from: https://stackoverflow.com/questions/73515583/how-to-setup-cassandra-cluster

I'm currently working on a cluster with DSE 6.8, but the address part of the picture is showing up as localhost. How can I get it to show the ip4 address?

Current Status