var ws = new WebSocket("ws://127.0.0.1:9090"); 在服务器本机可以连接; 公网连接失败 var ws = new WebSocket("ws://www.域名.com:9090"); WebSocket connection to 'ws://www.域名.com:9090/' failed: Error in connecti...