Can I port-forward a server to two different IPs/routers?
I made a Minecraft server for my friends and I recently and the servers been working fine but my parents are divorced and I switch houses regularly. So my question is if I can also connect the server to my other parents house to continue running it.
Commentaires
* Downvote this comment if this post is poor quality or does not fit the purpose of r/Minecraft
* Downvote this comment *and report the post* if it breaks the [rules](https://www.reddit.com/r/Minecraft/wiki/rules)
----
(*Vote has already ended*)
Most of the port forwarding functionality is determined by the router, not the server application. Port forwarding rewrites incoming traffic and redirects it to an internal address, then reverses this for outgoing traffic. In the most ideal situation, both networks have the same internal subnet like 192.168.0.0/24 or 192.168.1.0/24 so you could assign your PC a static IP address that works on both LANs. That way, you would be able to have port forwarding rules that work in either place as long as the computer is on the network and the server is running. While you can run a server with a DHCP assigned address, your address might change and you'd need to update your port forwarding rules for that session.
As far as your friends are concerned, all you need to do is make sure your friends know what public address they need to connect to. From a player perspective, it's going to look like the exact same server.
Not quite and switching is pretty iffy