Connection refused


I installed hestia on the VPS server (Debian 11) and added a WordPress website. I added hestia cron for WordPress in the panel, but it gives me an error.

wget --delete-after https://xxx/wp-cron.php

–2023-05-15 18:20:01-- https://xxx/wp-cron.php
Resolving xxx (xxx)…
Connecting to xxx (xxx)||:443… failed: Connection refused.

The same is on port 80.

I searched for solutions on the internet, but I couldn’t find anything that would work.

Help me :smiley:

Delete from /etc/hosts as it is probally local loopback

Or run /usr/bin/php7.4 /home/user/web/ as a cronjob

1 Like

It works:

php -f /home/username/web/

And it’s not possible to unlock it to work by domain name? Removing from /etc/hosts does not change anything.

Then you need to check why it is still looping back…

But personally I always prefer to use a php over wget…

1 Like

Let it stay through php :slight_smile: Thanks for the help :slight_smile:

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