My VPS provider is running a promotion where I can get up to 5 additional public IPv4 addresses for a one-time cost of $25 each. I have always only used a single public IP address per VPS. Would there be any advantage of having additional public IP addresses?

I know some people do not consider a VPS self-hosting, but this is the most relevant community I could think of and the question is also applicable for homelabs as well.

  • Kaavi@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    7 months ago

    You can run two different services on same port, but different ip …

    Not really that important anymore, with caddy or nginx it’s easy to get around that for http or https …

    • catloaf@lemm.ee
      link
      fedilink
      English
      arrow-up
      0
      ·
      7 months ago

      For http(s), yes. Other services that don’t support host routing, which is most of them, no.

      • kn33@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        7 months ago

        Most things people self host are either torrent clients, HTTP(s) or are game servers. The first one can pick a port arbitrarily. The second can do host routing. The third - some of them support SRV records so you can direct the client to an arbitrary port. It’s becoming less common to need multiple public IPv4 addresses.