Cannot connect ejjaberd by Internet

Hi everyone,
Anyone can help me please?
I've done installing ejabberd on My CentOS and i can login (via Pidgin) using local network. But when i try connect using internet with domain, that i've created before, i cannot login. Is there any way for me to connect using internet.
In ejjaberd.cfg, i just edit
{hosts, ["mydomain"]}.
{acl, admin, {user, "admin-username"}}.

Please is there anyone can help me? Thanks in advance

ps: sorry for my languange, i'm not good in englis :)

Syndicate content