连接协议选择:
WS (ws://localhost:8099) - 无需证书,适合本地开发
WSS (wss://localhost:8098) - 需要接受自签证书
使用 WSS 时,如果连接失败,请先访问
https://localhost:8098
接受证书