All of the public ip addresses on my network are the same so I cannot connect to some devices.... HELP - eviltoast

so I am trying to make it so my friends can connect to my minecraft server. So I look up my public ip address and type it in. It does not work. I proceed to port forward and try again, nothing. I look up the public ip address on a different device on my network and it is the same as the server. How could I find a device specific ip address so that my friends could join if all of the public ip addresses are the same?

  • JJHall_ID@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Think of it like an address on an office building. The post office delivers all of the mail to 123 Candy Cane Lane. The name on the letter doesn’t matter to the mailman, they have no clue where Fred Smith’s office is located, and they aren’t allowed in the building anyway even if they did. The receptionist at the office takes all of the mail and passes it along to the correct person based on the name. If they’ve been told where Fred Smith’s office is located, they deliver it. If not, they assume Fred Smith doesn’t work there and they either reject it or just throw it in the trash.

    Your ISP is the mailman, your gateway/router is the receptionist. The name on the envelope is like the port number. As long as you configured the router to take traffic meant for port 25565 (default for Minecraft server) and forward it to the INTERNAL IP address of your minecraft server, it should work if your friend connects to your PUBLIC IP address.

    Depending on your ISP, you could be in a double-NAT situation, which basically means there’s another receptionist in between, and you have no way to tell that receptionist who is who, all they do is reject all mail unless they’re told ahead of time to expect something in return of what you sent out. If that’s the situation you’re in, you won’t be able to run a server at all without a VPN that allows port forwarding, or some other sort of method to proxy the connection.