Skip to content

Cron jobs don't work, either can modify files. Internal networking problem #8

Open
@macr1408

Description

@macr1408

I'm having a problem, my Wordpress site cannot connect to itself when using cron jobs. I'm using the plugin WP Crontrol to test it, and the post call to my own site doesn't work. I get this error:

cURL error 7: Failed to connect to 127.0.0.1 port 80: Connection refused

And the same error occurs with port 447 when I'm using SSL (self-signed).

I found this solution and it worked the first time I tried it, but later I deleted my containers, re deployed them and I can't get it working again, I guess i'm editing the host file incorrectly (inside the nginx container), I don't understand what does that solution do exactly and how it should be applied.

Also, I cannot edit files from the theme/plugin editor, It says that the site couldn't connect and I should upload the files using SFTP. Again, the site cannot connect to itself.

I'm using the default compose.yml, no changes applied.

Metadata

Metadata

Assignees

No one assigned

    Labels

    reference informationContains useful reference informationresolvedIssue has been resolved

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions