For specific steps, please refer to this link: https://blog.csdn.net/qq_21077715/article/details/85541685
The above configuration firewall open port 8080 is only for Centos7 before, configuration firewall after Centos7 can refer to this link: https://blog.csdn.net/sinat_35626559/article/details/77140896