[ejabberd] problem connecting to ietf.xmpp.org (group chat)

Yu-Shun Wang yushunwa at ISI.EDU
Mon Aug 1 23:53:52 MSD 2005


Alexey Shchepin wrote:
> Hello, Yu-Shun!
> 
> On Mon, 01 Aug 2005 11:46:25 -0700, you said:
> 
>  YW> Alexey Shchepin wrote:
>  >> Please, show the content of /etc/resolv.conf, and the result of executing
>  >> the following in erlang shell:
> 
> [...]
> 
> Hm, looks ok, try to run "ets:tab2list(inet_db)." using
> % erl -sname test -kernel inetrc \"/etc/ejabberd/inetrc\"
> 
> and also try to run
> inet_res:getbyname("_xmpp-server._tcp.ietf.xmpp.org", srv).

Both commands below, looks fine to me as it gets the port
xmpp.org is using (6269):

[root at jabber: /var/log/ejabberd] erl -sname test -kernel inetrc 
\"/usr/local/etc/ejabberd/inetrc\"
Erlang (BEAM) emulator version 5.4.8 [source] [hipe] [threads:0] 
[kernel-poll]

Eshell V5.4.8  (abort with ^G)
(test at jabber)1> ets:tab2list(inet_db).
[{socks5_noproxy,[]},
  {res_recurse,1},
  {res_id,0},
  {hostname,"jabber"},
  {res_alt_ns,[]},
  {cache_refresh_interval,3600000},
  {res_inet6,false},
  {socks5_port,1080},
  {socks5_methods,[none]},
  {res_timeout,2000},
  {cache_size,100},
  {res_domain,"isi.edu"},
  {res_retry,3},
  {res_ns,[{{127,0,0,1},53},{{128,9,160,161},53},{{128,9,128,128},53}]},
  {res_lookup,[native]},
  {udp_module,inet_udp},
  {tcp_module,inet_tcp},
  {socks5_server,[]},
  {res_search,["isi.edu"]},
  {res_usevc,false}]
(test at jabber)2> inet_res:getbyname("_xmpp-server._tcp.ietf.xmpp.org", srv).
{ok,{hostent,"_xmpp-server._tcp.ietf.xmpp.org",
              [],
              srv,
              1,
              [{30,30,6269,"xmpp.org"}]}}
(test at jabber)3>



-- 
Yu-Shun Wang <yushunwa at isi.edu>  http://www.isi.edu/~yushunwa
USC Information Sciences Institute
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3314 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.jabber.ru/pipermail/ejabberd/attachments/20050801/9d0e783c/smime.bin


More information about the ejabberd mailing list