[erlang-questions] Erlang ping on the internet
Mon Jan 11 22:27:18 CET 2010
You are probably behind a NAT, so for this to work Erlang needs to be able
to do hole punching using STUN and/or TURN - one could make it work with a
more primitive solution, but when there is a standard available...
Your problem is that Erlang does not have the ability to do hole punching
(in whatever form) - Joe has that on his to-do list for the Erlang library
he has just recently started creating.
On Mon, Jan 11, 2010 at 15:41, mike h <mike_k_houghton@REDACTED> wrote:
> I'd like to setup two erlang nodes and send messages to them over the
> internet. I'm having a few problems...
> The network/hardware is:
> I have a local PC, behind a firewall, connected to the internet.
> I have a remote system, behind a firewall, hosted on the internet and I
> can ssh into it.
> What I want to do is send messages between two erlang nodes, one on each
> My local pc has a /hosts file like this.
> w.x.y.z mypc.home.net mypc
> My remote has a hosts file like this
> a.b.c.d ahost.mysite.co.uk
> what is the erl incantation needed to start an erlang node on each system
> such that each can
> ping the other using net_adm:ping(...)? (I've tried various combinatiions
> of -name, -sname but failed).
> And, of course, which ports do I need to open on the firewalls?
> Going a little farther what other ports (if any) should I open to send
> messages between processes running on the local and remote nodes?
More information about the erlang-questions