I resolved my problem myself.
Solution. I changed my Ubuntu DNS namesever. Then I used this command apt reinstall firewalld in Secure Shell Access.
Then used this:
iptables -F
iptables -X
iptables -Z
panelPort=7800
sshPort=22
firewall-cmd --set-default-zone=public >/dev/null 2>&1
firewall-cmd --permanent --zone=public --add-port=20/tcp >/dev/null 2>&1
firewall-cmd --permanent --zone=public --add-port=21/tcp >/dev/null 2>&1
firewall-cmd --permanent --zone=public --add-port=80/tcp >/dev/null 2>&1
firewall-cmd --permanent --zone=public --add-port=${panelPort}/tcp >/dev/null 2>&1
firewall-cmd --permanent --zone=public --add-port=${sshPort}/tcp >/dev/null 2>&1
What I noticed after I logged in in aaPanel is my appanel security firewall is disabled.
I think the method may be disable aaPanel security firewall.