CRON via CURL -> Access denied
- Jörg Stein
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
7 years 3 months ago #6039
by Jörg Stein
CRON via CURL -> Access denied was created by Jörg Stein
Hello together, if I indicate by ssh the specified curl address from vdata I will be denied access. I hold the error message {"result": "error", "error!":"ACCESS_DENIED"}
Can someone help me please?
Can someone help me please?
Please Log in to join the conversation.
7 years 3 months ago #6040
by Daniel
Thanks
Daniel
Replied by Daniel on topic CRON via CURL -> Access denied
Hello,
It's because it will only allow the Cron to run from the same server where your website does exist.
It's because it will only allow the Cron to run from the same server where your website does exist.
Thanks
Daniel
Please Log in to join the conversation.
7 years 2 months ago #6096
by Ken Lee
Replied by Ken Lee on topic CRON via CURL -> Access denied
In case this problem still haunts you, here is my tip:
If your server is behind a firewall doing NAT, you may need to add an entry to your /etc/hosts file:
<My.Private.IP.Address> my.virtualhostname.com
e.g.
192.168.1.1 www.mydomain.com
It solved my problem.
If your server is behind a firewall doing NAT, you may need to add an entry to your /etc/hosts file:
<My.Private.IP.Address> my.virtualhostname.com
e.g.
192.168.1.1 www.mydomain.com
It solved my problem.
Please Log in to join the conversation.
- Jörg Stein
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
7 years 2 weeks ago #6305
by Jörg Stein
Replied by Jörg Stein on topic CRON via CURL -> Access denied
It run from the same server...
Please Log in to join the conversation.