title: Apache Spark - Connection refused for worker
body: <p>Hi I was new to apache spark and i was trying to learn it</p>
  
  <p>While creating a new standalone cluster I met with this error.</p>
  
  <p>I started my master and it is active in port 7077, i can see that in the ui (port 8080)</p>
  
  <p>While startting the server using the command </p>
  
  <pre><code> ./bin/spark-class org.apache.spark.deploy.worker.Worker spark://192.168.0.56:7077
  </code></pre>
  
  <p>I am meeting with a connection refused error</p>
  
  <pre><code>14/07/22 13:18:30 ERROR EndpointWriter: AssociationError [akka.tcp://sparkWorker@node-        physical:55124] -&gt; [akka.tcp://sparkMaster@192.168.0.56:7077]: Error [Association failed     with [akka.tcp://sparkMaster@192.168.0.56:7077]] [
  akka.remote.EndpointAssociationException: Association failed with [akka.tcp://sparkMaster@192.168.0.56:7077]
  Caused by: akka.remote.transport.netty.NettyTransport$$anonfun$associate$1$$anon$2:     Connection refused: /192.168.0.56:7077
  </code></pre>
  
  <p>Please help me with the error i am sruck here for a long time.</p>
  
  <p>I hope the information is enough. Please help</p>