If you use it over /ws multiaddr, keep in mind that Websockets need TLS to work in web browsers (Secure Context.).
Make sure to set it up on reverse proxy in front of Kubo that terminates TLS, or leverage AutoTLS feature which will provide you with a domain name and set up TLS cert for you for free.