If you are using anything else, you may run into issues so consider switching to 2021 LTS.
An example project for connecting to a linux FN server from a WebGL client using WSS/SSL.
For an in-depth guide and project usage see the GUIDE.PDF included in this repository.