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

Author: Youjie

Originally Sourced from:

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