I have a local bastion running (with a “services,” “web,” and “unity” job (based on the Unity sample)) which works perfectly when accessing it from the server machine. Attempting to access the server from another machine, however, results in the websocket connection failing - this has been tested both on another computer within the same LAN and a machine outside of the local network.
At first glance, it looks like this is because the server is returning “127.0.0.1” as the service IP within the
/api/public/channels/join call - which, obviously, wouldn’t work on anything other than the server machine. I added in a string replacement on the URI parameter of the
createGenvidClient() method to replace the IP with the correct external one just to see if the error was on the client-creation side, but the stream still fails.
I was wondering, is there a place where one can set the external IP for a local bastion install so that the various services return the correct IP and, second, are there are any other additional steps one must perform to run a local bastion that is web-accessible?
For complete-ness sake, I have also turned off the firewall completely on the server machine, and I have placed the server machine in the DMZ of my router, so there shouldn’t be a traffic restriction.