Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8546541
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T13:03:06+00:00 2026-06-11T13:03:06+00:00

I was having trouble with initializing an actor system on a remote IP address.

  • 0

I was having trouble with initializing an actor system on a remote IP address. I am using akka actors and the play! framework. The code and the remote actor system are both on the remote rackspace servers. When I try to create a remote actor system on the the other server it fails to bind to that IP address. I don’t think it is a network or firewall issue because Rackspace says that they opened up all connections between servers. This is the error message I am getting:

[error] application - 

! Internal server error, for request [POST /payment/] ->

java.lang.ExceptionInInitializerError: null
    at     Routes$$anonfun$routes$1$$anonfun$apply$3$$anonfun$apply$4.apply(routes_routing.scala:44) ~[classes/:na]
    at Routes$$anonfun$routes$1$$anonfun$apply$3$$anonfun$apply$4.apply(routes_routing.scala:44) ~[classes/:na]
    at play.core.Router$HandlerInvoker$$anon$3.call(Router.scala:1080) ~[play_2.9.1-2.0.1.jar:2.0.1]
    at play.core.Router$Routes$class.invokeHandler(Router.scala:1255) ~[play_2.9.1-2.0.1.jar:2.0.1]
    at Routes$.invokeHandler(routes_routing.scala:14) ~[classes/:na]
    at Routes$$anonfun$routes$1$$anonfun$apply$3.apply(routes_routing.scala:44) ~[classes/:na]

Caused by: org.jboss.netty.channel.ChannelException: Failed to bind to: /172.17.100.232:2554
    at org.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:298) ~[netty-3.3.0.Final.jar:na]
    at akka.remote.netty.NettyRemoteServer.start(Server.scala:53) ~[akka-remote-2.0.2.jar:2.0.2]
    at akka.remote.netty.NettyRemoteTransport.start(NettyRemoteSupport.scala:73) ~[akka-remote-2.0.2.jar:2.0.2]
    at akka.remote.RemoteActorRefProvider.init(RemoteActorRefProvider.scala:95) ~[akka-remote-2.0.2.jar:2.0.2]
    at akka.actor.ActorSystemImpl._start(ActorSystem.scala:568) ~[akka-actor-2.0.2.jar:2.0.2]
    at akka.actor.ActorSystemImpl.start(ActorSystem.scala:575) ~[akka-actor-2.0.2.jar:2.0.2]

Caused by: java.net.BindException: Cannot assign requested address
    at sun.nio.ch.Net.bind(Native Method) ~[na:1.6.0_26]
    at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:126) ~[na:1.6.0_26]
    at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59) ~[na:1.6.0_26]
    at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.bind(NioServerSocketPipelineSink.java:140) ~[netty-3.3.0.Final.jar:na]
    at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.handleServerSocket(NioServerSocketPipelineSink.java:92) ~[netty-3.3.0.Final.jar:na]
    at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.eventSunk(NioServerSocketPipelineSink.java:66) ~[netty-3.3.0.Final.jar:na]

I am creating the remote actor system here:

object Payment extends Controller {
  var goodies: AuthNetActorObject = null

  val system = ActorSystem("RemoteCreation", ConfigFactory.load.getConfig("remotecreation"))
  val myActor = system.actorOf(Props[authNetActor.AuthNetActorMain], name = "remoteActor")
  ...
}

Here is where i define remotecreation in my Application.conf file:

remotecreation{ #user defined name for the configuration
    include "common"
    akka {
            actor{
                    #serializer{
                    #       proto = "akka.serialization.ProtobufSerializer"
                    #       daemon-create = "akka.serialization.DaemonMsgCreateSerializer"
                    #}

                    #serialization-bindings{
                    #       "com.google.protobuf.GeneratedMessage" = proto
                    #       "akka.remote.DaemonMsgCreate" = daemon-create
                    #}

                    deployment{
                            /remoteActor{   #Specifically has to be the name of the remote actor
                                    remote="akka://RemoteCreation@172.17.100.232:2554"
                            #       router = "round-robin"
                            #       nr-of-instances = 10
                            #       target {
                            #               nodes = ["akka://RemoteCreation@172.17.100.232:2554", "akka://RemoteCreation@172.17.100.224:2554"]
                            #       }
                            }
                    }
            }
    }
}

Here is my common.conf file that I include in the definition:

akka {

  actor {
    provider = "akka.remote.RemoteActorRefProvider"
  }

  remote {
        transport = "akka.remote.netty.NettyRemoteTransport"
        log-received-messages = on
        log-sent-messages = on
        log-remote-lifecycle-events = on

    netty {
      hostname = "172.17.100.232"       #Broadcast IP address of remote system
      port = 2554
        log-received-messages = on
        log-sent-messages = on
          log-remote-lifecycle-events = on

    }
  }
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T13:03:07+00:00Added an answer on June 11, 2026 at 1:03 pm

    It probably means that something else is using that port on that machine. Log into that machine and run netstat -anp | grep 2554 as root and see that port is in LISTEN status. If so the process ID will be in the last column.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using EF 4.1 Code First and I am having trouble initializing my
I'm having trouble initializing my dynamic_bitset . I have this code: for(int j=(data1.length()-1); j>=0;
Having trouble with each function... Will try to explain by example... In my code,
Having trouble accessing javascript code in a mixed html/js ajax response. jQuery ajax doc
Having trouble with the following segment of code. I'm getting a parameter count mismatch.
Having Trouble with Entity Framework. I have been populating EntityReferences with an EntityKey inorder
Having trouble using Powershell to manipulate IP Restrictions on IIsWebVirtualDir (Virtual Directories). However, i
Okay, I am having trouble with the following piece of code (in a header
I am having trouble initializing a constant array of constant strings. From week.h (showing
Again, Xcode newb here ... So I'm having trouble getting my Items (code not

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.