https://en.wikipedia.org/wiki/WebSocket yes... you have to expose always http/s and then "upgrade" to tcp based websockets this is only a limitation to bend everyone into the cage that web devs are stuck inside i pray to God one day that there will be no more web browsers, only native apps