Enabeling Akka remote to listen on all interfaces

97 views
Skip to first unread message

Oliver Schulz

unread,
May 21, 2011, 4:12:21 PM5/21/11
to akka...@googlegroups.com
Currently, there seems to be now way for Akka remote to listen on all interfaces.

Akka.actor.Actor.remote.start(host, port) can only be called once (it seems), and the host address has to be specified. If left empty, host defaults to localhost, since the implementing class, NettyRemoteServer, uses "new InetSocketAddress(host,port)" internally.

Proposal: Allow host to be specified as "*" and make a small change in NettyRemoteServer to call "new InetSocketAddress(port)" in this case.

Any thoughts?

Jonas Bonér

unread,
May 21, 2011, 4:27:22 PM5/21/11
to akka...@googlegroups.com
Sounds like a good idea, if you can make it work well.

--
Jonas Bonér
CTO 
Typesafe - Enterprise-Grade Scala from the Experts
Phone: +46 733 777 123
Twitter: @jboner
--
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To post to this group, send email to akka...@googlegroups.com.
To unsubscribe from this group, send email to akka-user+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/akka-user?hl=en.

Ivan Porto Carrero

unread,
May 21, 2011, 4:30:23 PM5/21/11
to akka...@googlegroups.com
IIRC, we made it work by setting the host to 0.0.0.0

Met vriendelijke groeten - Best regards - Salutations

Ivan Porto Carrero

√iktor Ҡlang

unread,
May 21, 2011, 4:47:32 PM5/21/11
to akka...@googlegroups.com


On May 21, 2011 10:30 PM, "Ivan Porto Carrero" <iv...@mojolly.com> wrote:
>
> IIRC, we made it work by setting the host to 0.0.0.0

+1!

Oliver Schulz

unread,
May 21, 2011, 5:24:03 PM5/21/11
to akka...@googlegroups.com
Good one, thanks!
Reply all
Reply to author
Forward
0 new messages