Turn off your Firewall:

sudo ufw disable on Ubuntu or sudo systemctl stop firewalld on CentOS 7

Then try accessing the dashboard.

If it still doesn't work, than run sudo iptables -F to flush the iptables.

Than re-enable the firewall later either in the Security Section or by install the SYS Firewall plugin from the App Store.

Actually, you don't have to run the disable firewall command. You can just run the sudo iptables -F command instead. However if that doesn't work, then you would have to run the disable firewall command

9 months later

hello I changed the port from 7800 to 8888 and now the aapanel does not come in, it is not possible to find this page

    aaP_wagnerlimawwnpr
    Hello, is port 8888 open in the system firewall? Is the server provider's firewall open on port 8888?
    The system firewall can open the firewall by executing the following commands:
    firewall-cmd --permanent --zone=public --add-port=8888/tcp >/dev/null 2>&1
    /sbin/ufw allow 8888/tcp

    The server provider needs to open to the provider's background.
    Is the link fully entered? You can use the bt 14 command to view the default link

    a year later

    It encountering any problems?
    Warning:
    If you cannot access the panel,
    release the following port (7800|888|80|443|20|21) in the security group

      aaPanel_Kern Name : AllowPort80
      DisplayName : Allow Port 80
      Description :
      DisplayGroup :
      Group :
      Enabled : True
      Profile : Any
      Platform : {}
      Direction : Inbound
      Action : Allow
      EdgeTraversalPolicy : Block
      LooseSourceMapping : False
      LocalOnlyMapping : False
      Owner :
      PrimaryStatus : OK
      Status : 已从存储区成功分析规则。 (65536)
      EnforcementStatus : NotApplicable
      PolicyStoreSource : PersistentStore
      PolicyStoreSourceType : Local
      RemoteDynamicKeywordAddresses : {}
      PolicyAppId 😀

      Name : AllowPort7800
      DisplayName : Allow Port 7800
      Description :
      DisplayGroup :
      Group :
      Enabled : True
      Profile : Any
      Platform : {}
      Direction : Inbound
      Action : Allow
      EdgeTraversalPolicy : Block
      LooseSourceMapping : False
      LocalOnlyMapping : False
      Owner :
      PrimaryStatus : OK
      Status : 已从存储区成功分析规则。 (65536)
      EnforcementStatus : NotApplicable
      PolicyStoreSource : PersistentStore
      PolicyStoreSourceType : Local
      RemoteDynamicKeywordAddresses : {}
      PolicyAppId :

      aaPanel_Kern -A IN_public_allow -p tcp -m tcp --dport 22 -m conntrack --ctstate NEW,UNTRACKED -j ACCEPT
      -A IN_public_allow -p tcp -m tcp --dport 20 -m conntrack --ctstate NEW,UNTRACKED -j ACCEPT
      -A IN_public_allow -p tcp -m tcp --dport 21 -m conntrack --ctstate NEW,UNTRACKED -j ACCEPT
      -A IN_public_allow -p tcp -m tcp --dport 22 -m conntrack --ctstate NEW,UNTRACKED -j ACCEPT
      -A IN_public_allow -p tcp -m tcp --dport 80 -m conntrack --ctstate NEW,UNTRACKED -j ACCEPT
      -A IN_public_allow -p tcp -m tcp --dport 7800 -m conntrack --ctstate NEW,UNTRACK ED -j ACCEPT
      -A IN_public_allow -p tcp -m tcp --dport 39000:40000 -m conntrack --ctstate NEW, UNTRACKED -j ACCEPT
      -A IN_public_allow -p tcp -m tcp --dport 8888 -m conntrack --ctstate NEW,UNTRACK ED -j ACCEPT
      -A IN_public_allow -p tcp -m tcp --dport 55555 -m conntrack --ctstate NEW,UNTRAC KED -j ACCEPT
      COMMIT

      Completed on Thu Sep 14 10:18:17 2023

        Hello, please check whether the bt service is running: bt status
        If it is not running, it will be useless if you open the port. If it is not running, please start it: bt start
        If it cannot run please check the log: bt 22

        aaP_xiaoyeoh8888

          aaP_xiaoyeoh8888
          Hi, can you give us your aapanel information? The server makes a snapshot backup first, if possible, please send it to kern@aapanel.com.
          It is recommended to fill in the following
          Post link:
          SSH IP address, account password and port:
          aapanel login link address and account password:

          No post link will not be able to know which user's information is, and the problem will not be processed