script runs on server ip-address instead of site ip-address?

script runs on server ip-address instead of site ip-address?

Hi There,

If I start an FTP connection in PHP through a cron-job, the remote server detects the IP-Address from my server instead of the ip-address from the virtual site.

How do I change this to the site’s IP address? Remote server uses a white-list so the server-ip address is blocked. I would really prefer to do it proper instead of having the server’s address whitelisted.

So: is it possible to change the server ip with site ip for scripts/cron-jobs?

Comments are closed.