Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

WallyJ's avatar

ERR_CONNECTION_REFUSED on Forge Site

When I go to my site address, I receive an error: ERR_CONNECTION_REFUSED In the past, this often meant that my DB username or password was wrong. I have triple-checked and they are correct. I can connect to my db with TablePlus, so I know it's right. Also, all of the site logs are empty so they don't help. What am I missing?

0 likes
1 reply
gych's avatar
gych
Best Answer
Level 29

Since you're sure that the credentials in the ENV file are correct try to run php artisan config:clear first.

Is your database also hosted with forge?

1 like

Please or to participate in this conversation.