Check ejabberd hostname

Is there a way to check what is the hostname that my ejabberd server is running with? When I do a ./ejabberdctl status
it tells me:
ejabberd@localhost is started with status: started

Does that mean my hostname is actually "localhost"?
However I can still connect to the server using the DNS, "ec2-111-11-11-111.amazonaws.com", which is what I put during the setup of ejabberd.

ejabberd@localhost is Erlang

ejabberd@localhost is Erlang node name, not XMPP domain nor DNS.

Syndicate content