Hi,
I am experimenting with Remote Actors, and I want to run two systems on the
same machine-- Ping and Pong.
I am using these properties for Pong
-Dakka.actor.provider=akka.cluster.ClusterActorRefProvider
-Dakka.remote.netty.tcp.port=2553
Pong wants to talk to Ping. If I use a raw IP address it works fine
val ping =
system.actorSelection("akka.tcp://[email protected]:2552/user/ping")
But it doesn't work if I use localhost or 127.0.0.1
val ping =
system.actorSelection("akka.tcp://Ping@localhost:2552/user/ping")
What is the correct way to implement this so that it would run on any
machine?
Thanks
Peter
--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: http://akka.io/faq/
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/groups/opt_out.