Foreword: After a project's linux server crashes and restarts,
It is found that the project under tomcat cannot be accessed, but the ip of the server can be pinged in both directions, so the following knowledge points are brought out under the occurrence of this problem:
*, take effect permanently, will not recover after restart
Enable: chkconfig iptables on Off: chkconfig iptables off
*, take effect immediately, restore after restart
Start: service iptables start Shutdown: service iptables stop