title: Akka gRPC binding wrong port number
body: <p>I am trying to run 2 different akka grpc servers however they cannot run concurrently. I try binding one server on localhost port 8080 and the other one on localhost port 8090. Separate they run fine but when I try to run them together I get the following error:</p>
  <pre><code>[ERROR] [05/13/2021 11:14:30.862] [Server-akka.actor.internal-dispatcher-6] [akka://Server/system/IO-TCP/selectors/$a/0] Bind failed for TCP channel on endpoint [/192.168.1.10:25520]
  java.net.BindException: [/192.168.1.10:25520] Address already in use: bind
  </code></pre>
  <p>Here is the code were I try to create them:</p>
  <pre><code> val service: HttpRequest =&gt; Future[HttpResponse] =
      StoreServiceHandler(new StoreImpl())
  
    // Bind service handler servers to localhost:8080/8081
    val binding = Http().newServerAt(&quot;127.0.0.1&quot;, 8080).bind(service)
  
    // report successful binding
    binding.foreach { binding =&gt; println(s&quot;gRPC server bound to: ${binding.localAddress}&quot;) 
  </code></pre>
  <p>and</p>
  <pre><code>val service: HttpRequest =&gt; Future[HttpResponse] =
    CommunicationChannelHandler(new CommunicationChannelImpl())
  
  // Bind service handler servers to localhost:8080/8081
  val binding = Http().newServerAt(&quot;127.0.0.1&quot;, 8090).bind(service)
  
  // report successful binding
  binding.foreach { binding =&gt; println(s&quot;gRPC server bound to: ${binding.localAddress.getPort}&quot;) }
  </code></pre>
  <p>Note: the print statement returns the right ports so I do not understand why they cannot run together/ why they both try to use port 2552.</p>