Quote:
Originally Posted by Montana Harper
Even with the connection enabled and/or using the shortcut, the port still changes. Possibly it's the version of BS (5.11) I'm using? It doesn't matter if it's Nougat or Pie, though; I've tried both of them. I can't disable the various Win10 Pro VM features (Hyper-V, etc.) without breaking other necessary programs, or I'd be using BS 5.09 and BSTweaker.
Ah, well. I guess it'll just be a multi-step process for me each time. Thanks for helping me troubleshoot!
|
Yeah, the virtualization is probably what does it. I have mine off.
On the other hand, if it is always in the similiar range, just go through all ports in there and attempt to connect, then disconnect afterwards. I think a loop should be easy enough to do if you google the syntax.
ETA: the used port is always visible in Bluestack's config file. It can be read from there and extracted. Everytime it changes, e.g. after a restart, the config file changes. I got so far as to find the line with the port automatically. Now I just need to get the port out of the string and clean my code up so that it looks nice.
ETA2: Working now, will post a new reply.