Closed hach-que closed 4 years ago
Do you have loopback exemption enabled? UWP by default blocks all local connections to apps for security reasons. This should fix it: https://nukkitx.com/threads/fix-cannot-connect-to-servers-hosted-on-the-same-computer-with-windows-10-edition.41/
I'm trying to get this to work so that I can intercept the skin data and chain data that the Minecraft client sends to a server (trying to use the protocol library to write a bot that can capture all the chat messages).
I'm running it with this configuration:
My
server.properties
hasonline-mode=false
.This is the output from running ProxyPass:
But Minecraft doesn't see the server, and it won't talk to it at all:
As an aside, I've been able to get my bot to connect to the Minecraft server, but it immediately gets disconnected because of invalid auth (hence trying to capture the skin and chain data from a real client). You can see the code I have here (the version I got connecting was basically this, but with empty strings sent for chain data and skin data in the LoginPacket). If there's alternate content I can provide for those values for offline mode servers that I can set that don't require all this signing / capturing chain/skin data, then that would also be useful.