New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Could not connect: Connection refused (internal server error 500)

Started by zeejdeej, September 11, 2026, 12:42:16 AM

Previous topic - Next topic

zeejdeej

hello,

i keep getting Could not connect: Connection refused (internal server error 500) on all sites including cwp admin and user panel and after restart everything works fine. what could be the issue if anyone faced this issue before in cwp . how to fix it ?

this is what i get when i try to access cwp admin panel. all other hosted websites show internal server error 500 . but everything is fine after mysql server restart .
-----------------------------------------------------------------------------------------
Trying to start mysql server, please wait!
Try to restart Control Web Panel with command: sh /scripts/restart_cwpsrv

**Check your MySQL root password in: /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php and /root/.my.cnf
You can reset the MySQL root password fast with this command: /scripts/mysql_pwd_reset -q

Could not connect: Connection refused

overseer

Follow the link in your other thread to update to MariaDB 10.11 LTS version.
If after upgrading you are still experiencing problems, you can also try User Accounts -> Fix Permissions.
And last I checked, /scripts/mysql_pwd_reset is sadly outdated and you need to use a more modern method of setting the MariaDB root password:
https://www.digitalocean.com/community/tutorials/how-to-reset-your-mysql-or-mariadb-root-password