Outbound IP Address

Discussion in 'General troubleshooting' started by Philip, Nov 9, 2015.

  1. I need to supply a 3rd party API with an IP Address which they will white-list so I can access their system.

    I have done this with the Site IP listed under my Site Info but they are reporting that I am attempting to access under different IPs.

    Is there a known set of IPs I can give them for my account?

    If not, sad face, I'll have to ditch winhost for this project.

    Thanks
     
  2. ComputerMan likes this.
  3. Got a swift response from the support Team. Thank you Winhost!

    Trying to resolve the same issue with another hosting vendor right now and its taking them days to properly address my request - still waiting.
     
    ComputerMan and Michael like this.
  4. You're welcome! Glad we could help.
     
  5. ComputerMan

    ComputerMan Winhost Staff

    I just wanted to add some information that some people might find interesting.

    You should still contact support and get the list for the outgoing IP numbers.

    But this cool script below will tell you the outgoing IP number your site is using at the time.

    Code:
    <%@language=JScript%>
    <%
    var objSrvHTTP;
    objSrvHTTP = Server.CreateObject("Msxml2.ServerXMLHTTP.6.0");
    objSrvHTTP.open("GET","http://whatismyip.com", false);
    objSrvHTTP.send();
    Response.ContentType = "text/html";
    Response.Write(objSrvHTTP.responseText);
    %>
    Copy and paste that code into a empty file and call it AnyThingYouWant.asp

    Upload it to your site via FTP.

    Hit the page via the web browser and you will get your outgoing IP number that the site is using at the time.
     
    Michael likes this.
  6. In Dec 2019, the above script No longer works !?

    Following line is displayed on the page
    error code: 1020
     
  7. ComputerMan

    ComputerMan Winhost Staff

    Use this code instead

    PHP:
    <?php
    $realIP 
    file_get_contents("http://ipecho.net/plain");
    echo 
    $realIP;
    ?>
    Name the file AnythingYouWant.php

    Then visit the document via the web browser.
     

Share This Page