Hi !
First some context:
We are developing a multiplayer game and we use PlayFab Multiplayer Servers 2.0.
When we encounter issues on deployed servers, our only solution until now to debug them was to kill them (when they did not crash), grab the logs and try to fix the issue based on what could be analysed.
For sure we could attach a debugger but we never got it working on deployed servers and sometimes this isn't practical anyway (ex: trying to analyse what is happening dynamically, without triggering a break point that would hang / kill connections with clients).
To work around that, we made our servers be able to respond to simple http queries, giving us some details about their internal state and possibly giving us the opportunity alter it remotely.
When we deploy the servers, we configure the build so that it opens a port dedicated to that http tool, allowing us to inspect deployed servers. This is working great and proved to be very useful in some situations.
Now about my question:
Would it be possible to query those server from the VM they are running on, without exposing the tool's port in build's configuration.
That would allow us to keep it running even on production servers, without the port being reported by the matchmaker to the clients, and without a way for a hacker to try and connect to our instances.
Thank you !