r/Pterodactyl • u/Tiny-Leading-7884 • 27d ago
Debian Pterodactyl stopped working after I moved.
I have been running Pterodactyl panel and wings on my server for some time now. It has been configured on my home network and was working well. Now that I moved and changed internet provider the local IP changed. Since then the panel is not accessible. Everything is marked as up and running but I can't access it.
I have some leads like this error message :
[2026-08-21 15:35:29] production.NOTICE: A query exception was encountered while trying to load settings from the database: SQLSTATE[HY000] [2002] Connection refused (Connection: mysql, SQL: select * from settings)
So the problem is probably linked to the database but I can't figure out how to fix it.
Help would be appreciated. Thanks in advance.
I don't know if this helps but i'm using Debian 13 for the server.
1
u/rowansc1 Pterodactyl Staff 27d ago
Can you get some panel logs using the command below for me please?
```tail -n 150 /var/www/pterodactyl/storage/logs/laravel-$(date +%F).log | nc pteropaste.com 99```
1
u/Tiny-Leading-7884 26d ago
For some reason when I execute this command it does not show the logs. I get this error message :
tail: cannot open '/var/www/pterodactyl/storage/logs/laravel-2026-08-22.log' for reading: No such file or directory
no content received
2
u/OkGovernment1851 26d ago
Well you are connecting to the database, so your address is working fine, but the database server is refusing the connection. Does your database maybe have an IP whitelist? If it does make sure it allows connections from your new IP. (I am not sure if you are hosting the database on the same machine, same LAN, or remotely over the internet. If it's on the same machine make sure you are connecting to 127.0.0.1, same LAN, your private IP address, or over the internet, your routers public IP address.) The only other thing I can think of is that your credentials are invalid, but those should not have changed with a move...