title: why do I get a connection reset when trying to access the spark master webUI?
body: <p>I am trying to install a spark stand-alone-cluster on CentOS8 and keep getting a connection reset when trying to access the webUI of the master after I start it. Am I missing something? Help please.</p>
  <p>I have:</p>
  <ol>
  <li>installed java:</li>
  </ol>
  <p><code>openjdk version &quot;1.8.0_302&quot; OpenJDK Runtime Environment (build 1.8.0_302-b08) OpenJDK 64-Bit Server VM (build 25.302-b08, mixed mode)</code></p>
  <ol start="2">
  <li><p>Installed scala:</p>
  <p>Scala code runner version 2.10.6 -- Copyright 2002-2013, LAMP/EPFL</p>
  </li>
  </ol>
  <p><code>/usr/lib/scala -&gt; /usr/lib/scala3-3.0.1/</code></p>
  <ol start="3">
  <li>Installed spark:</li>
  </ol>
  <p><code>scala -&gt; /usr/lib/scala3-3.0.1/</code></p>
  <ol start="4">
  <li>configured bash profile with environmental variables in .bash_profile:</li>
  </ol>
  <p><code>export PATH=$PATH/user/lib/scala/bin export SPARK_HOME=/opt/spark export PATH=$PATH:$SPARK_HOME/bin</code></p>
  <ol start="5">
  <li>opened up some ports in the firewall:</li>
  </ol>
  <p><code>ports: 6066/tcp 7077/tcp 8080-8081/tcp</code></p>
  <ol start="6">
  <li>added config to spark-env.sh</li>
  </ol>
  <p><code>SPARK_LOCAL_IP='localhost' SPARK_MASTER_IP='spark-master' SPARK_MASTER_PORT='7077'</code></p>
  <ol start="7">
  <li><p>started the master using start-master.sh</p>
  </li>
  <li><p>Using firefox to go to http://localhost:7077 - but keep getting a connection reset</p>
  </li>
  </ol>