IP whitelist needs a different IP than host IP

Discussion in 'Control Panel API' started by ds500, Mar 2, 2014.

  1. Hi guys,

    I'm running a site on web802.discountasp.net (96.31.33.52) but as of about feb 26th, when I call the backup API I get this error:

    Dasp.CustomerAPI.Web.UserErrorException: Access denied. Add IP 96.31.34.113 to whitelist.

    Why is it reporting a different IP needs access?
     
  2. dmitri

    dmitri DiscountASP.NET Staff

    96.31.34.113 is the static IP address of your site, while 96.31.33.52 is the shared IP address of web802 web server that hosts it. The inbound request should go to your static IP, and outbound requests will be originating from the shared IP of the web server.
     
    mjp and martino like this.
  3. Thanks for the reply.

    Can I suggest that if API calls are made from a sites "static ip" that you list that on the API ip filter page?

    Currently it says your ip is "x.x.x.x" (i.e. my home/work ip) but that's not very helpful since most people who would use that API can figure out their own home/work ip. However, that "static ip" is never listed anywhere and it's what is needed if calling the API from my website.
     
  4. How can i solve this error.

    Dasp.CustomerAPI.Web.UserErrorException: Access denied. Add IP 2.51.190.200 to whitelist.
     

Share This Page