Do they have wifi or bluetooth?
They could be accessed from a smartphone................
It said “Javascript from a browser”. the browsers only access the localhost Tomcat server.