If you are unable to access your server via http://220.127.116.11:2222, then 1 of 3 things is likely happening: 1. DirectAdmin might not be running or(第一种可能,就是DA没有正常安装) 2. You have a firewall blocking port 2222.(第二就是防火) Number 2 is easy to check by simply running (only on redhat systems): /sbin/service iptables stop /sbin/chkconfig iptables off Then test directadmin again. If that didn't fix it, then you'd need to check your /var/log/directadmin/error.log to check for any errors as to why it isn't starting: tail /var/log/directadmin/error.log (如果 试了上在两个方法还是不行,可查看错误列表) Common problems are: 3. Incorrect ethernet_dev set in the /usr/local/directadmin/conf/directadmin.conf file. guide 4. Invalid license, either due to wrong uid/lid, IP, or date. Try: Updating your DirectAdmin License manually 5. Your IP is blacklisted in /usr/local/directadmin/data/admin/ip_blacklist. This is controlled by the "brute force login detection" in Admin Settings. Use a setting no lower than 10, since even loading the login page counts as 1 failed attempt. 6. Binaries for a different operating system. Related You can always try running DirectAdmin by hand (if it's not already running) to see what the problem is. cd /usr/local/directadmin ./directadmin b200 to start it in the terminal with debug level 200. Use Ctrl-C to stop. 7. If DirectAdmin is running, is bound to port 2222, but doesn't respond on "127.0.0.1", but does respond on "::1", then it's an IPv6 issue. This guide would be related.
The ip of this machine () does not match the ip in the license file
If you get the message: The ip of this machine () does not match the ip in the license file when trying to start DirectAdmin (or (18.104.22.168) instead of ()) then the ethernet_dev setting in your directadmin.conf files isn't setup correctly. Type: /sbin/ifconfig to see which device name your IP is on. Common devices names/formats are: eth0, eth0:1, eth1, venet0:0, etc.. Note that you can specify the sub-device name to get different IPs. Once you know the device name, edit /usr/local/directadmin/conf/directadmin.conf Change (or add) the setting: ethernet_dev=eth0
# /etc/init.d/directadmin restart