Whitelist confusion

Discussion in 'Control Panel API' started by kingjs, Aug 2, 2008.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. 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
     
  2. Bruce

    Bruce DiscountASP.NET Staff

  3. 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
     
  4. Bruce

    Bruce DiscountASP.NET Staff

    >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
     
  5. Bruce

    Bruce DiscountASP.NET Staff

    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
     
  6. 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
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page