I first launched the minecraft server with the properties as shown at the bottom left and I followed this up by enabling zrok with "zrok enable [my private token]" and then running the script (start-server.ps1). Everyone except me (server host) are unable to join even after they input the generated + "minecraft" token. Here are their perspective is shown on the right:
Hi @Dxmola, welcome to the community and to zrok (and OpenZiti)!
Thanks for moving the conversation from that YouTube channel to here. It's dreadful trying to help using YouTube's comments! And thanks for the information.
From our YouTube conversation, I'm getting the impression that zrok isn't able to connect to the minecraft server. Can we run a few simple commands and just make sure that things are setup right from the start?
Start the Minecraft server (i see it's using 25565)
Make sure the port is open and available on your local machine. I do that from powershell with:
Once you are sure that port 25565 is open -- AND that you see it listening on IPv4 (like I show) 0.0.0.0:25565 then we should be good to start zrok. You can certainly use that script from my personal repo, but we could also run the zrok private share without it. It's easiest to start with an ephemeral one (one that will change every time) by simply running this from the Minecraft server: zrok share private --backend-mode tcpTunnel 127.0.0.1:25565
This creates a share that you can access with something like zrok access private w3cxzpybi2l8 --bind 127.0.0.1:25565 (that was the ephemeral token given to me when I did it just now)
In the past I've seen people report that they had issues with the version of minecraft, or the server just needed to be restarted etc. I'm happy to DM about this issue too. We also had ipv6/ipv4 issues in the past that are interesting and hard to track down.
After that is working, you would start your zrok client and run that same test connection powershell test but from a client. it should look the same. Here's what it looked like for me when I tested it form the client (left) and the server (right). Notice you see the 127.0.0.1:59305 -> ACCEPT indicating it allowed the traffic in...
It seems the client side cant connect as the TcpTest returned false (client top image, server bottom image). The client side tried by connecting their zrok by running the clientps1 script and entering their token and finally running the command on powershell.
I wonder if the CLIENT side is getting blocked by Windows Defender (firewall). Let me try to dig up a few commands to try on the client side that might help diagnose the issue...
Wait... does the client side have zrok.exe ui like the server side? If so it has never even showed up once?? This is the server side but its also missing the bottom half compared to the UI shown in the youtube guide.
To use tcp tunnels with zrok, you must use zrok on the 'server' end of the tunnel, as well as the 'client' end of the tunnel and zrok must remain running.
Are you ok with me trying to connect to your minecraft server? I can try it from my side to eliminate that half of the equation at least.
Uhhh I have no idea what happened but the client side just joined the world without a problem running the zrok access private command you have sent me. Now they have the zrok.exe window:
after running that command the zrok command DOES need to start and stay running. But it's just running that zrok command so if that's easier, just have your pals run:
I ran the zrok access private and not the execution policy bypass and it seemed to have worked!! Thank you so so so much by going through the entire process and dedicating so much time!!