Get External IP of your machine

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kevinyy
    New Member
    • Jul 2008
    • 77

    Get External IP of your machine

    How can i get the external ip of my local machine (not the local address) without parsing it from a site/using a site; ex: whatismyip.com.
    -is this possible?
    C#.net 2.2
  • Curtis Rutland
    Recognized Expert Specialist
    • Apr 2008
    • 3264

    #2
    Not really, no. Although it is very easy to do the whatismyip thing, because they have an automation page. There is nothing to parse, the only response is the ip address text.

    Comment

    • Kevinyy
      New Member
      • Jul 2008
      • 77

      #3
      Originally posted by insertAlias
      Not really, no. Although it is very easy to do the whatismyip thing, because they have an automation page. There is nothing to parse, the only response is the ip address text.
      Just checking, is this what businesses do to achieve this? or something similar on their own servers?

      Comment

      • Plater
        Recognized Expert Expert
        • Apr 2007
        • 7872

        #4
        I would assume a serious business would know what their IP address was and it would be static.

        If you are using a home-use router, it probably has UPnP enabled and you might be able to request information from that?

        Comment

        • Curtis Rutland
          Recognized Expert Specialist
          • Apr 2008
          • 3264

          #5
          Businesses tend to have Static IPs. You buy them from the ISP and they don't change.

          Comment

          • Kevinyy
            New Member
            • Jul 2008
            • 77

            #6
            Originally posted by Plater
            I would assume a serious business would know what their IP address was and it would be static.

            If you are using a home-use router, it probably has UPnP enabled and you might be able to request information from that?
            well i mean for a quick example: Teamspeak server, it tells you your local ip, and external ip - do you think that uses an outside source? ie: whatismyip

            - i have the get ip from the whatismyip automation working nicely

            Comment

            • Curtis Rutland
              Recognized Expert Specialist
              • Apr 2008
              • 3264

              #7
              Teamspeak probably uses it's own server. It's outside your network, so it sees your external IP. Your internal components (except your router) don't know what their external is.

              Comment

              Working...