Hi Prasan, Are you using Akka version 2.3.2? The configuration looks correct, but the log output is not from Akka 2.3.2, as far as I can see.
Regards, Patrik On Wed, Apr 23, 2014 at 12:15 AM, Prasan Samtani <[email protected]>wrote: > I'm trying to setup a remote actor to listen on port 2553, like so: > > import akka.actor.Actor._ > import akka.actor.ActorSystem > import com.typesafe.config.ConfigFactory > > /** > * Created by prasan.samtani on 4/22/2014. > */ > object RemoteSlave { > val conf = ConfigFactory.load("remote-slave") > Console.println("port =" + conf.getInt("akka.remote.netty.tcp.port")) > val system = ActorSystem("monitorcoordinator", conf) > > def main(args: Array[String]) { > } > } > > > The config file is setup like so: > > akka { > actor { > provider = "akka.remote.RemoteActorRefProvider" > > } > remote { > enabled-transports = ["akka.remote.netty.tcp"] > netty.tcp { > hostname = "127.0.0.1" > port = 2553 > } > } > } > > > > However, akka continues to bind to port 2552 (the default?) instead of the > specified port. > > Program output: > > port = 2553 > [INFO] [04/22/2014 15:12:04.802] [main] [NettyRemoteTransport(akka:// > [email protected]:2552)] RemoteServerStarted@akka:// > [email protected]:2552 > > > Is there a different config parameter I need to use? > > Thanks, > Prasan > > -- > >>>>>>>>>> Read the docs: http://akka.io/docs/ > >>>>>>>>>> Check the FAQ: > http://doc.akka.io/docs/akka/current/additional/faq.html > >>>>>>>>>> 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/d/optout. > -- Patrik Nordwall Typesafe <http://typesafe.com/> - Reactive apps on the JVM Twitter: @patriknw JOIN US. REGISTER TODAY! <http://www.scaladays.org/> Scala <http://www.scaladays.org/> Days <http://www.scaladays.org/> June 16th-18th, <http://www.scaladays.org/> Berlin <http://www.scaladays.org/> -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> 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/d/optout.
