DCoT Apps: External IP Address

Trackback or

Contents

Download

For those of you that are only here to download the program, here it is:

If you find External IP to be a useful program, please consider using the Tip Jar (nudge, nudge, wink, wink)!

For those of you that are interested in some of the background and description of External IP, read on.

The Problem

I received an e-mail from a DCoT reader wanting to know if I could figure out a way for him to get the external IP address of his home system/network when it changes. He has a dynamic IP address that is given out by DHCP whenever he connect to the Internet. This IP address changed from time to time and that means that he can’t access the system remotely if he doesn’t know the address.

He was also aware of some of the dynamic DNS services such as DynDNS.org but he didn’t want to use any of these services.

The Solution

I created External IP to solve this problem. External IP runs on one of your home systems and continually checks to see if your external IP address has changed. If it does, it can either update a file via FTP on the Internet or it can e-mail you the new IP address to your remote e-mail address. This way, you will know what your home IP address is at all times.

If you found this post useful, why don't you buy me a cup of coffee to show your gratitude?

Trackback link - http://www.dailycupoftech.com/external-ip-address/trackback/
Tim Fehlman

12 Responses to “DCoT Apps: External IP Address”

  1. Ciego Says:

    Nice … I just had this happen to me last week (after having the same ip for about 7 months) and I couldn’t access my server from work when I needed to.

  2. Michael Says:

    Good work, very handy! I wonder if you would consider sharing your code (sorry, don’t know if you have any policy against such)? This is a nice little piece of functionality, and I could see some other potential uses for it. Thanks.

  3. Tim Fehlman Says:

    Michael,

    You are not the first person to ask about source code. I will be making an announcement about this in the near future. Please keep your eye on DCoT for further information.

    Tim

  4. Sarge Says:

    Thanks Tim,

    I have been looking for a solution such as this for a bit. I sometimes have need to access files while on the road and I can’t wait to try this.

  5. Tim Fehlman Says:

    Sir, yes, Sir!

    Glad to be of service, Sir! If you find it handy, feel free to use the Tip Jar, Sir!

    P.S. If you haven’t guessed, I visited your blog! ;) Now if I only knew how to salute with an emoticon!

    Tim

  6. Steve W Says:

    I’ve used ZoneEdit and DynDNS to access my home network via registered domain names and free subdomains with great success over the years. No need to keep track of my dynamic IP address :)

  7. Fred W Says:

    Great little app, very handy.

    For me, though, it is ignoring the “UseMail=False” in the .ini file, and tries to contact “SMTPServer=smtp.myisp.com” anyway. FTP function works PERFECTLY.

    Otherwise, thanks for a great utility, and blog!

  8. Dave Says:

    Good idea!

    Just wanted to point out that “UseFTP=False” does not appear to bypass the FTP portion of the program - resulting in an error message (as expected since I have not changed the default FTP parameters in the configuration file.

  9. Tim Fehlman Says:

    It looks like there are a couple of bugs that I need to look at. Thanks, Fred and Dave. I’ll get on that as soon as I get some time.

    Tim

  10. Andy Says:

    Hi Tim,

    Do you, by chance, have something similar to use on a Linux platform?

    Thanks!
    Andy

  11. don Says:

    Hello\

    I new to this and can not seem to get it working with gmail account does any one have a sample application

  12. Mike Says:

    Has a solution been found for the program not recognizing “False” for FTP and Mail settings? Hint hint nudge nudge…

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>