General discussion

  • Creator
    Topic
  • #4273291

    Fixing public IP from router

    Locked

    by Niamhrubi ·

    Tags: 

    Hi Everyone,
    I have a small application that I access from outside the house by my router’s public IP. Every couple months, Verizon changes my house’s public IP Address and I have to manually go back in to my code for my programs and change the IP. Is there a way to fix my IP so I can either have a static number or link it to a domain? If so how,

    • This topic was modified 4 months, 1 week ago by Avatar photokees_b.
    • This topic was modified 4 months, 1 week ago by Avatar photokees_b.

All Comments

  • Author
    Replies
    • #4273314
      Avatar photo

      Reply To: Fixing public IP from router

      by kees_b ·

      In reply to Fixing public IP from router

      No, there isn’t.

      My suggestion: change your programs to read the current IP from a parameter file. Then all you need to do when it changes is to change the value in the file. That’s much easier than changing the program.

    • #4273363
      Avatar photo

      More code!

      by rproffitt ·

      In reply to Fixing public IP from router

      Your app needs to detect the IP change and put that on some public web page you can pick up with your app.
      More code but hey, this can be solved.

    • #4280202

      Reply To: Fixing public IP from router

      by khawermasood0 ·

      In reply to Fixing public IP from router

      To prevent issues with a changing public IP, you can either request a static IP address from Verizon (this may come with additional charges) or configure Dynamic DNS (DDNS). DDNS allows you to associate your changing public IP with a domain name, and many routers have built-in support for this. By setting up DDNS through a provider like No-IP or DynDNS, your domain will automatically update whenever your IP changes, ensuring seamless access.

    • #4288314

      Fixing Public IP from Router

      by aavotorg ·

      In reply to Fixing public IP from router

      Hi Niamhrubi,

      It sounds like you’re dealing with dynamic IP issues with your Verizon connection. Here are a couple of solutions to help you maintain a consistent public IP address or link it to a domain:

      1. Request a Static IP from Your ISP
      Contact Verizon: Reach out to Verizon customer support and ask if they offer static IP addresses for your account. There may be an additional fee, but it will provide you with a permanent public IP.
      2. Use Dynamic DNS (DDNS)
      What is DDNS?: Dynamic DNS services allow you to link your changing public IP address to a consistent domain name.
      Setup Steps:
      Choose a DDNS Provider: Services like No-IP, DynDNS, or DuckDNS offer free and paid options.
      Create an Account: Sign up for an account with your chosen provider.
      Configure Your Router: Many routers have built-in DDNS support. Go to your router’s settings and look for the DDNS section. Enter your DDNS provider’s details, including your username, password, and the domain name you registered.
      Update Your Application: Instead of using the public IP, use the domain name provided by the DDNS service in your application.
      3. Router Configuration
      Ensure that your router is configured to update the DDNS service automatically. This way, whenever your public IP changes, the DDNS service will be updated without manual intervention.

Viewing 3 reply threads