[erlang-questions] Unable to start ejabberd or use TCP/IP communication in erlang interpreter

Mikle <>
Tue Dec 26 15:21:00 CET 2006


I am try to learn Erlang language, but have some problems.

When I start ejabberd server I receive a lot of error message 
then begins from 

{error_logger,{{2006,12,26},{17,16,43}},'Protocol: ~p: register/listen error: ~p
~n',[inet_tcp,enotsock]}

In some conference I find a recomendation to check than TCP/IP functions
properly.
I execute gen_tcp:listen(0,[]). command in erlang interpreter and receive an 
error result.

Eshell V5.5.2  (abort with ^G)
1> gen_tcp:listen(0,[]).
{error,enotsock}
2>

I have installed the latest version of Erlang.
The computer functioning properly.
All other programmes than use TCP/IP are working.

What can I do to run Erlang properly?
How to troubleshoot this problem?





More information about the erlang-questions mailing list