4040: spark Displays the port number of the current spark-shell running tasks.

7077: Spark Master internal communication service port number.

8080: Standalone mode, the Spark Master Web port number.

18080: Port number of the historical Spark server.

8088: Hadoop YARN task running status Check the port number.

8485: Default journalNode port number

9000: non-high availability access RPC port

8020: High availability access data RPC

8081: port number of the worker’s webUI

4040: indicates the port number of the application webUI