[ejabberd] ejabberd s2s

Alexey Shchepin alexey at sevcom.net
Tue Apr 27 17:34:12 MSD 2004


Hello, Oleg!

On Mon, 26 Apr 2004 18:13:38 +0400, you said:

 OVM> Alexey Shchepin wrote:
 >> Do you have /etc/resolv.conf?  It seems erlang can't resolve
 >> domain names without it.

 OVM> Yes, of course. There are two nameservers and one search domain.
 OVM> Other soft works ok. FreeBSD 5.2.1, Erlang from latest ports.

Try to run the following command:

$ erl
Erlang (BEAM) emulator version 5.1 [source]

Eshell V5.1  (abort with ^G)
1> gen_tcp:connect("jabber.org", 5269, [binary, {packet, 0}]).

You should get something like "{ok,#Port<0.30>}".



More information about the ejabberd mailing list