# Error 500 connection refused

**URL:** <https://forum.infinityfree.com/t/error-500-connection-refused/109733>\
**Category:** Hosting Support\
**Created:** [April 30, 2025, 11:52pm UTC](https://forum.infinityfree.com/t/error-500-connection-refused/109733 "2025-04-30T23:52:15Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![TIzzy01](https://forum.infinityfree.com/letter_avatar/tizzy01/32/6_22734026db12803ebb3e059622ac3534.png) [@TIzzy01](https://forum.infinityfree.com/u/TIzzy01)\
**Post date:** [April 30, 2025, 11:52pm UTC](https://forum.infinityfree.com/t/error-500-connection-refused/109733/1 "2025-04-30T23:52:16Z")

</div>

### Website URL

(please specify the URL of the site on which you are experiencing the problem)  
[https://wallabagbookmarks.kesug.com](https://wallabagbookmarks.kesug.com)

### Error Message

Connection could not be established with host “ssl://127.0.0.1:465”: stream\_socket\_client(): Unable to connect to ssl://127.0.0.1:465 (Connection refused)  
(please share the FULL error message you see, if applicable)

### Other Information

I used softaculous to install Wallabag  
(other information and details relevant to your question)

---

<div class="post-metadata">

**Author:** ![Herbert](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/herbert/32/43603_2.png) [@Herbert](https://forum.infinityfree.com/u/Herbert)\
**Post date:** [May 1, 2025, 1:38am UTC](https://forum.infinityfree.com/t/error-500-connection-refused/109733/2 "2025-05-01T01:38:47Z")

</div>

Hello there! Your website seems to be working, please try clearing browser cache.

 ![image](https://forum-cdn.infinityfree.net/original/3X/b/7/b7d4b96622bfa56904ccbc3a124f108df0b4bd4a.png)

---

<div class="post-metadata">

**Author:** ![TIzzy01](https://forum.infinityfree.com/letter_avatar/tizzy01/32/6_22734026db12803ebb3e059622ac3534.png) [@TIzzy01](https://forum.infinityfree.com/u/TIzzy01)\
**Post date:** [May 1, 2025, 2:26am UTC](https://forum.infinityfree.com/t/error-500-connection-refused/109733/3 "2025-05-01T02:26:14Z")

</div>

I cleared the cache and tried multiple browsers and I get the login/register page and when I enter the info it still brings me to the error.

---

<div class="post-metadata">

**Author:** ![Lucado](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/lucado/32/56635_2.png) [@Lucado](https://forum.infinityfree.com/u/Lucado)\
**Post date:** [May 1, 2025, 2:44am UTC](https://forum.infinityfree.com/t/error-500-connection-refused/109733/4 "2025-05-01T02:44:24Z")

</div>

A `500` code usually indicates an issue with the remote server or your internet connection. I replicated the issue myself, so its a server issue. My best guess is something went wrong during the setup process. You can refer to your log file for a detailed error message. The error log message will be displayed in `WALLABAG_DIR/var/logs/prod.log` .

---

<div class="post-metadata">

**Author:** ![Greenreader9](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/greenreader9/32/22847_2.png) [@Greenreader9](https://forum.infinityfree.com/u/Greenreader9)\
**Post date:** [May 1, 2025, 2:59am UTC](https://forum.infinityfree.com/t/error-500-connection-refused/109733/5 "2025-05-01T02:59:13Z")

</div>

> [@Lucado](#):
>
> so its a server issue

Almost certainly a code issue, not a server issue. If it was a server issue this forum would be a _lot_ more crowded.

Also, 5xx errors are server-side, absolutely nothing to do with your internet connection

---

<div class="post-metadata">

**Author:** ![Lucado](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/lucado/32/56635_2.png) [@Lucado](https://forum.infinityfree.com/u/Lucado)\
**Post date:** [May 1, 2025, 3:26am UTC](https://forum.infinityfree.com/t/error-500-connection-refused/109733/6 "2025-05-01T03:26:35Z")

</div>

Literally word for word from [Wallabags docs](https://doc.wallabag.org/user/errors_during_fetching/).

A 500 error code has and always will be defined as an internal server error.  
I could list the 3 other meanings behind it, but I assume you know that.

> “My best guess is something went wrong during the setup process”

This is suggesting misconfiguration. You assumed yourself that I was speaking ill on the server itself, when in reality, I was referring to a user error.

---

<div class="post-metadata">

**Author:** ![Greenreader9](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/greenreader9/32/22847_2.png) [@Greenreader9](https://forum.infinityfree.com/u/Greenreader9)\
**Post date:** [May 1, 2025, 3:43am UTC](https://forum.infinityfree.com/t/error-500-connection-refused/109733/7 "2025-05-01T03:43:23Z")

</div>

> [@Lucado](#):
>
> A 500 error code has and always will be defined as an internal server error.

Not sure about always, but that is the current definition, yes. I’m also not disputing that fact. The docs say “network error”, not “your internet connection”. If the docs were written by a knowledgeable person (and not the unpaid intern), they mean the network of the hosting platform, not the client network. 5xx is server, not client, the clients internet cannot trigger a 5xx unless something is incorrectly giving out error codes.

---

<div class="post-metadata">

**Author:** ![Lucado](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/lucado/32/56635_2.png) [@Lucado](https://forum.infinityfree.com/u/Lucado)\
**Post date:** [May 1, 2025, 3:56am UTC](https://forum.infinityfree.com/t/error-500-connection-refused/109733/8 "2025-05-01T03:56:02Z")

</div>

![image_2025-04-30_235518200](https://forum-cdn.infinityfree.net/original/3X/6/4/646ac63e9dc7631da177363861d36d1d31ab22c4.png)

Again, I just used the doc as reference.

You keep saying 5xx, OP has referred it to 500, I have referred it to 500. Its been specified as a 500, because that is the error being thrown. You can replicate the same error when you attempt to register on the url provided. My opinion is that it’s misconfiguration during the setup process.

The 500 error serves as a broad catch-all for server issues, which makes it a staple in web communication, it has been like that for maybe 29 years now. That won’t change. That is why they introduced 502 or 503 codes for more clearer information. The definition of the 500 error code will not change.

---

<div class="post-metadata">

**Author:** ![TIzzy01](https://forum.infinityfree.com/letter_avatar/tizzy01/32/6_22734026db12803ebb3e059622ac3534.png) [@TIzzy01](https://forum.infinityfree.com/u/TIzzy01)\
**Post date:** [May 1, 2025, 4:31am UTC](https://forum.infinityfree.com/t/error-500-connection-refused/109733/9 "2025-05-01T04:31:29Z")

</div>

I don’t have any control of the installation softaculous does it all. I have tried reinstalling it and end up with the same results.

---

<div class="post-metadata">

**Author:** ![EdwardSkunk](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/edwardskunk/32/66982_2.png) [@EdwardSkunk](https://forum.infinityfree.com/u/EdwardSkunk)\
**Post date:** [May 1, 2025, 11:01am UTC](https://forum.infinityfree.com/t/error-500-connection-refused/109733/10 "2025-05-01T11:01:55Z")

</div>

What’s the exact page you’re seeing the error on? Your site’s homepage doesn’t seem to trigger it.

---

<div class="post-metadata">

**Author:** ![TIzzy01](https://forum.infinityfree.com/letter_avatar/tizzy01/32/6_22734026db12803ebb3e059622ac3534.png) [@TIzzy01](https://forum.infinityfree.com/u/TIzzy01)\
**Post date:** [May 1, 2025, 12:55pm UTC](https://forum.infinityfree.com/t/error-500-connection-refused/109733/11 "2025-05-01T12:55:37Z")

</div>

The registration page after entering the info. [wallabagbookmarks.kesug.com/web/register](http://wallabagbookmarks.kesug.com/web/register)

---

<div class="post-metadata">

**Author:** ![dan3008](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/dan3008/32/68577_2.png) [@dan3008](https://forum.infinityfree.com/u/dan3008)\
**Post date:** [May 1, 2025, 1:06pm UTC](https://forum.infinityfree.com/t/error-500-connection-refused/109733/12 "2025-05-01T13:06:46Z")

</div>

> [@TIzzy01](#):
>
> registration page after entering the info. [w](http://wallabagbookmarks.kesug.com/web/register)

 ![image](https://forum-cdn.infinityfree.net/original/3X/c/9/c9eaa35ddec844f42c56fdfc792a8cced05d71e1.png)  
Ok I see what you mean. looking at theerror, are you trying to access the SQL database by IP address?

heres a thread that might help:

> [@Common MySQL Connection Errors](https://forum.infinityfree.com/t/common-mysql-connection-errors/49338):
>
> Many websites use MySQL databases to store information and settings. However, there are some reasons why the connection to the database may fail. This article describes some commonly seen error messages when connecting to a database, as well as some general tips to keep in mind when setting up a database connection. Common Error Messages Using MySQL is great, but the error message returned if there is an issue logging in to your database can be quite confusing. Here are some commonly seen error…

---

<div class="post-metadata">

**Author:** ![anon90933456](https://forum.infinityfree.com/letter_avatar/anon90933456/32/6_22734026db12803ebb3e059622ac3534.png) [@anon90933456](https://forum.infinityfree.com/u/anon90933456)\
**Post date:** [May 1, 2025, 1:26pm UTC](https://forum.infinityfree.com/t/error-500-connection-refused/109733/13 "2025-05-01T13:26:52Z")

</div>

I don’t think the OP’s accessing the database by the IP address; he was trying to connect to a supposed SMTP server (hence the port 465 for SSL/TLS connections) at localhost which doesn’t work as free hosting web servers don’t have any mail server on; plus SMTP connections to external mail services only work with STARTTLS and port 587.

@TIzzy01, since you were trying to configure a SMTP server, you might have to use an external one instead of an internal one; here’s a guide to use Gmail’s SMTP service:

> [@How to send email with Gmail SMTP](https://forum.infinityfree.com/t/how-to-send-email-with-gmail-smtp/49239):
>
> Outgoing email with PHP mail() is heavily restricted on InfinityFree. Fortunately, you can still whatever email you want using an external email service. There are many external email providers to choose from. InfinityFree doesn’t restrict sending email with external providers. Almost all of them have paid plans, but some have free tiers too. Most of them support sending email over SMTP, some of them have custom APIs, libraries and plugins which you can use too. A simple way to get started qui…

To configure it with your software, there should already be a DSN for Gmail they already created for you to use; here is its documentation:

> **[Mailer](https://doc.wallabag.org/admin/mailer/)**
>
> Out of the box, you can deliver emails over:
> SMTP (using a DSN like: smtp://user:pass@smtp.example.com:25) or sendmail (using a DSN like sendmail://default). Since 2.6.6, the gmail transport is available again using the DSN:...

---

<div class="post-metadata">

**Author:** ![dan3008](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/dan3008/32/68577_2.png) [@dan3008](https://forum.infinityfree.com/u/dan3008)\
**Post date:** [May 1, 2025, 1:34pm UTC](https://forum.infinityfree.com/t/error-500-connection-refused/109733/14 "2025-05-01T13:34:28Z")

</div>

> [@anon90933456](#):
>
> don’t think the OP’s accessing the database by the IP address; he was trying to connect to a supposed SMTP server

That makes sense

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [May 8, 2025, 1:34pm UTC](https://forum.infinityfree.com/t/error-500-connection-refused/109733/15 "2025-05-08T13:34:42Z")

</div>

Closed on May 8, 2025, 1:34pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
