Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Use Proxy Pass to Connect to LAN Game on Same Machine #36

Open
Kas-tle opened this issue Sep 11, 2022 · 3 comments
Open

Unable to Use Proxy Pass to Connect to LAN Game on Same Machine #36

Kas-tle opened this issue Sep 11, 2022 · 3 comments

Comments

@Kas-tle
Copy link

Kas-tle commented Sep 11, 2022

Summary

I am attempting to use ProxyPass to connect to a LAN game hosted on the same Windows 11 PC as the ProxyPass instance.

Reproduction

  1. I obtain the LAN port with:
(Get-NetUDPEndpoint -OwningProcess (Get-Process Minecraft.Windows).Id -LocalAddress 0.0.0.0).LocalPort
  1. The correct port will be the first or second result, and can be tested with attempting to connect via another Minecraft Bedrock instance on the local network through the server tab (e.g. 192.168.1.3:56516). The correct port can also be obtained by connecting to the LAN game normally through the friends tab and running Wireshark.

  2. I then set ProxyPass to use the correct LAN port and 127.0.0.1 for destination port
    lastly, try to connect to proxypass through the secondary device (e.g. 192.168.1.3:19122).

  3. I receive a timeout error in the ProxyPass console, indicating that ProxyPass cannot reach the LAN instance.

Additional Context

I am able to successfully use ProxyPass to connect to a LAN instance run on my iPhone, so this issue would seem to be specific to when ProxyPass and the LAN instance are run on the same machine.

I have also confirmed that it is at least theoretically possible to connect to a LAN instance on the same machine by using Minecraft Preview to attempt to connect to the LAN instance in the friends tab. This of course give an outdated instance error, but that at least confirms it is trying to connect to the right place. I also confirmed that 127.0.0.1 is the correct interface and that the obtained port is correct by adding a server and the server menu, and attempting to connect to the same outdated result.

@SupremeMortal
Copy link
Member

When starting up a local game through the client, I usually observe it starting on the default port (19132) if nothing else is bound. Have you tried setting ProxyPass to that?

@Kas-tle
Copy link
Author

Kas-tle commented Sep 13, 2022

This is definitely not the case on iOS or windows for me. When I attempt to join through port 19132, I receive the error "Wow, this server is popular."

@Kas-tle
Copy link
Author

Kas-tle commented Nov 26, 2022

Would there be any additional loopback issues potentially at play here that are not solved by the standard instructions given on the Unable to Connect page? I've still been struggling with this and can't really seem to figure out why this happens. I have to assume at this point that it is very much specific to Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants