Akka docker远程集群设置

连接到远程Docker群集时遇到问题。 我提供了bind.port和bind.hostname。 不过,我在服务器端有以下错误。

[ERROR] [08/04/2017 12:36:34.623] [SereverApplication-akka.remote.default-remote-dispatcher-6] [akka://SereverApplication/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F %2FClientApplication%4010.0.75.1%3A2553-0 / endpointWriter]为非本地收件人[Actor [akka.tcp://SereverApplication@127.0.0.1:2552 /]]丢弃消息[class akka.actor.ActorSelectionMessage] akka.tcp://SereverApplication@127.0.0.1:2552]入站地址是[akka.tcp://SereverApplication@172.17.0.2:2552]

从错误我可以看到消息正在从客户端发送到服务器的演员。 但是,服务器的子actor无法响应客户端。 任何帮助将不胜感激。 我有以下github位置的代码。

https://github.com/thedatatechie/akka_remote_actor

Dockerfile也放置在根文件夹中。 请使用它来设置单节点的docker集群。

提前谢谢了