beam.smp will be all-zero listening by default. Binding 0.0.0.0 is equivalent to binding all IP addresses of the local host,
causing network-wide listening. It can be limited to a specific IP address using the RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS environment variable.
RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS="-kernel inet_dist_use_interface {127,0,0,1}"
{127,0,0,1} is a tuple represent the IPV4 address.
We can use parse_address(Address) to parses an IPv4 or IPv6 address string and returns an ip4_address() or ip6_address().
1> inet:parse_address("127.0.0.1").
{ok,{127,0,0,1}}
2> inet:parse_address("1050:0:0:0:5:600:300c:326b").
{ok,{4176,0,0,0,5,1536,12300,12907}}