Java compatible servers for Minecraft (Spigot, Paper, etc.; I'm using Paper in this article). The one used in this article is Paper). From Nintendo Switch (i.e. Bedrock Edition) How to connect [* by IP address
Problems that need to be resolved
solution
What the server administrator does
2022-07-16
2022-01-19
Summary (2021-10-27)
way
----log
nishio: I don't know DNS at all (I play Minecraft(?))
nishio: I've installed BIND9 on the EC2 running my mikra, opened the DNS port in the security rules, and set my home router's primary DNS to the EC2 address. I'm trying to make sure I'm doing it right, but when I dig on my MacBook, it says the server is 127.0.0.1, and I'm having a hard time figuring it out.
nishio: I don't even know what to check and isolate the problem because I don't have enough basic network knowledge...
kaorun: maybe: a company machine with AnyConnect or something
nishio: ah... i see...
kaorun: It may be different on a Mac, but on a machine with AnyConnect, it seems that the DNS is taken to the AnyConnect side and the local I can't understand DNS in many ways.
nishio: i tried it on an unmanaged machine and it didn't go to 127.0.0.1!
nishio: Hmmm, the DHCP server function was turned off in the router configuration to begin with... where on earth is Switch getting its DNS information from...? I'm not sure where the Switch is getting its DNS information from...?
nishio: i want to do ipconfig and stuff on Switch()
nishio: I see, you didn't have to mess with the router settings in the first place? m.youtube.com/watch?v=zalT_o…
nishio: I seem to have succeeded in swapping the connection destination in DNS as it now fails to connect to the server. Next, I'd like to know why it's failing... the video looks like it's sending a dialog once it's connected to the world.
nishio: hmm I don't know, I should leave for once
nishio: I just looked back and finally realized something I almost noticed earlier, but both the "server that brings up the server selection screen" and the "server you want to connect to" are on the same machine. There is no way that Bedrock's port can listen, and the reason I'm not getting an "Already used" error is that one of them is clamping down on the error and can't see it.
nishio: the timeline is that "server X that wants to connect" is started first, so this grabs the port, and "server Y that brings up the server selection screen" fails to listen. I've tried closing Y, but I haven't tried starting Y without starting X. This should be verified.
nishio: >BDS uses UDP, unlike Java Edition which uses TCP. AAAAAAHHHH minecraft.fandom.com/ja/wiki/Bedroc…
nishio: got through to the world selection server! pic.twitter.com/kp5x6Y6Nbb
nishio: mmmm pic.twitter.com/UlMQhjl0LM
nishio: oh, they released a version for 1.17.40, just replace it.
nishio: done! (Server Resource Pack not applied...) pic.twitter.com/4gis0PD9ok
nishio: and unfortunately seriously low FPS. maybe 5.
nishio: there's plenty of room for server load averages and such, so it looks like it's either the performance of the Switch, or the latency of the packet conversion, which is a bit too easy to solve!
This page is auto-translated from [/nishio/Minecraft Java版サーバにSwitchから繋ぐ](https://scrapbox.io/nishio/Minecraft Java版サーバにSwitchから繋ぐ) using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. I'm very happy to spread my thought to non-Japanese readers.