PDA

View Full Version : Whitelist confusion


kingjs
08-02-2008, 04:07 AM
Hi,

I am a little confused about the role of the whitelist when using the API. I have written some code to do a scheduled database backup using the scheduling service. This works correctly when running on my desktop (having added my computer's IP address to the whitelist) however it always throws and 'Access Denied' exception when running under the scheduler.

Do I need to add the IP address for the scheduler servers to my whitelist? If so, how do I get this information?

Thanks
Jeff

bruce
08-04-2008, 05:27 AM
Yes. You need to add the IP of any computer that access the API. To find out the IP of the server, hit this webpage on the server, http://whatismyip.com/

Bruce

DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)

kingjs
08-04-2008, 05:32 AM
It works when I run it on my desktop, it doesn't work when it runs as a scheduled task using the Scheduled Task Manager - in that case it throws an API Access Denied exception:

Server was unable to process request. ---> Access denied.

Do I need to add the IP address of the machine on which the scheduled task runs to the whitelist for this to work? If so, how do I get this IP address?

Thanks
Jeff

bruce
08-07-2008, 12:42 AM
>Do I need to add the IP address of the machine on which the scheduled task runs to the whitelist for this to work?


Yes, You will need to add that IP.


>If so, how do I get this IP address?


Logon to the server and hit this URL from IE http://whatismyip.com/

Bruce

DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)

bruce
08-07-2008, 05:15 AM
I see what you are saying now. you'll have to create a support ticket and support will provide you with the outbound IP that you can add to the whitelist.

Bruce

DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)

kingjs
08-07-2008, 06:07 AM
But the server is a DiscountASP server - I am using the scheduling system in the Discount ASP Control Panel? How do I know what server it is running on and how do I log on interactively to tha box?

My backup job is not being kicked off from one of my boxes, it is kicked off on a DiscountASP box.

Jeff