1

I have openend a minecraft server for my friends and I, but I have an issue. Anyone with a different IP can connect (tested by connecting via Mobile Data Tethering on my phone), but anyone with the same public IP address as the server cannot connect (tested on different computers/ports with different IPs (such as public IP and the server's IP)) (if it's any use, the error when I try to connect is: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information). I have tried restarting the router, as well as the server and I have no different outcomes (and yes, I do have my server open).

Note: I did read similar posts to mine, but none of them seemed to be able to help me out.

1

1 Answer 1

1

I don't know how you managed to get multiple computers with the same IP address (it's certainly possible, but unlikely to happen accidentally), but that is very likely the issue. IP addresses are used to select which computer to send a package to via the internet, so your two computers might get packages they didn't request and not know how to handle them or they might not get packages that they requested and either wait for them forever or show an error message.

You should never have two computers with the same IP address connected to the same network (like the internet), this will always lead to various issues, some of them might be very hard to debug.

7
  • BTW, the same applies to entity UUIDs in Minecraft. If you have multiple entities with the same ID, strange stuff can happen. Commented May 1, 2020 at 17:04
  • I am indeed aware to not connect multiple computers to the same IP, I meant they are on the same public IP (the one you get by searching "my ip" on google)
    – Ierdna100
    Commented May 2, 2020 at 6:31
  • Maybe we mean different things. Do you get the same result on wieistmeineip.de on both computers? If yes, you have done something wrong, or at least, in a way I would not recommend. Commented May 2, 2020 at 7:20
  • The thing is, that's not my doing, thats my ISP's settings. Every single device connected to my internet has that public IP (phones, computers, TVs). I don't think I did anything wrong, as that's what a public IP is supposed to be(according to Wikipedia), but I'm not a networking pro either, so i don't know.
    – Ierdna100
    Commented May 2, 2020 at 18:00
  • Then you should complain to them. That should really not happen. Commented May 2, 2020 at 19:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.