During development you'll be able to interact with Web Bluetooth through http://localhost
I guess if you use the exact same server but use http://my_pc_name instead it will probably break - could that have been your issue?
http://my_pc_name
Probably yes. As I remember I used it in my experiments with localhost: to access my JavaScript app for BLE API.
A self signed certificate may help
@Abhigkar started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I guess if you use the exact same server but use
http://my_pc_name
instead it will probably break - could that have been your issue?