[erlang-questions] Erlang connect by external ip address
Robert Raschke
rtrlists@REDACTED
Mon Jan 17 18:57:01 CET 2011
On Mon, Jan 17, 2011 at 5:37 PM, shk <kuleshovmail@REDACTED> wrote:
>
> I write simple server application in erlang.
>
> Code of this application: https://gist.github.com/783117
>
> I try to connect to it with telnet. When I connect to localhost or local ip
> addres which get from route it's ok, but when i try to connect to server
> with external ip it's don't work.
>
> What's wrong? <erlang-questions-unsubscribe@REDACTED>
>
>
Not 100% sure, but I think inet or inet6 should be part of your
gen_tcp:listen/2 option list.
Robby
More information about the erlang-questions
mailing list