title: akka cluster Connection refused: address is now > gated for [5000] ms
body: <p>I have a cluster with 2 workers and 1 master. the cluster is implemented with Akka and Scala.</p>
  
  <p>When i killed the worker and try to run it again with the following command:</p>
  
  <blockquote>
    <p>java -Xms3500M -Xmx3500M -Dlog_file_name=worker1
    "-Dconfig.file=F:\cluster\application.conf" -cp cluster.jar
    knowmail.Worker worker1 2551</p>
  </blockquote>
  
  <p>I get the following error:</p>
  
  <blockquote>
    <p>Connection refused
    Association with remote system
    [akka.tcp://ClusterSystem@xxxxxx:2552] has failed, address is now
    gated for [5000] ms. Reason: [As
    kka.tcp://ClusterSystem@xxxx:2552]] Caused by: [Connection
    refused: no further information: /xxxx:2552]</p>
  </blockquote>
  
  <p>a configuration of cluster:</p>
  
  <pre><code>  remote {
      log-remote-lifecycle-events = off
      log-received-messages = on
      log-sent-messages = on
  
      netty.tcp {
        hostname = "xxxxxx"
        port = 8888
        bind-hostname = 0.0.0.0
        bind-port = 8888
      }
    }
  
    cluster {
      seed-nodes = [
        "akka.tcp://ClusterSystem@xxxxx:2551",
        "akka.tcp://ClusterSystem@xxxxxx:2552"]
  
      auto-down-unreachable-after = 20s
    }
  
    http.client.parsing.max-content-length = infinite
  }
  </code></pre>
  
  <p>Did anyone encountered this error and solved it?</p>