Update MultiplayerPage.java

Replace the stun server to solve the problem of slow and inaccurate detection
This commit is contained in:
Hcat 2021-12-23 14:32:10 +08:00 committed by Yuhui Huang
parent 246069cc48
commit c4a2695b69

View File

@ -134,7 +134,7 @@ public class MultiplayerPage extends DecoratorAnimatedPage implements DecoratorP
private void testNAT() {
Task.supplyAsync(() -> {
DiscoveryTest tester = new DiscoveryTest(null, 0, "stun.stunprotocol.org", 3478);
DiscoveryTest tester = new DiscoveryTest(null, 0, "stun.miwifi.com", 3478);
return tester.test();
}).whenComplete(Schedulers.javafx(), (info, exception) -> {
if (exception == null) {