title: How to access Spark Web UI?
body: <p>I'm running a Spark application locally of 4 nodes.  when I'm running my Application it displays my driver having this address 10.0.2.15:</p>
  
  <pre><code>INFO Utils: Successfully started service 'SparkUI' on port 4040.
  INFO SparkUI: Bound SparkUI to 0.0.0.0, and started at http://10.0.2.15:4040
  </code></pre>
  
  <p>at the end of running it displays :</p>
  
  <pre><code>INFO SparkUI: Stopped Spark web UI at http://10.0.2.15:4040
  INFO MapOutputTrackerMasterEndpoint: MapOutputTrackerMasterEndpoint stopped!
  INFO MemoryStore: MemoryStore cleared
  INFO BlockManager: BlockManager stopped
  INFO BlockManagerMaster: BlockManagerMaster stopped
  INFO OutputCommitCoordinator$OutputCommitCoordinatorEndpoint: OutputCommitCoordinator stopped!
  INFO SparkContext: Successfully stopped SparkContext
  </code></pre>
  
  <p>I tried to access the Spark Web by:
  <code>10.0.2.15:4040</code> but the page is inaccessible.
  Trying with the below address also didn't helped:</p>
  
  <pre><code> http://localhost:18080
  </code></pre>
  
  <p>Using <code>ping 10.0.2.15</code> the result is:</p>
  
  <pre><code>Send a request 'Ping' 10.0.2.15 with 32 bytes of data
  
  Waiting time exceeded
  
  Waiting time exceeded
  
  Waiting time exceeded
  
  Waiting time exceeded
  
  Ping statistics for 10.0.2.15: Packages: sent = 4, received = 0, lost = 4 (100% loss)
  </code></pre>
  
  <p>Checked the availability of the port 4040 using <code>netstat -a</code> to verify which ports are available. The result is as follow:</p>
  
  <pre><code>   Active connexion:
  
      Active       local address        Remote address                      state
  
      TCP          127.0.0.1:4040      DESKTOP-FF4U.....:0                 Listening
  </code></pre>
  
  <p>PS.: Knowning that my code is running succesfully. 
  What could be the reason?</p>