Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是新来的,我写了这段代码,但它在控制台中出现错误:'ws://127.0.0.1:4502/Broker' failed: Error in connection established: net::ERR_CONNECTION_REFUSED. 有人能帮帮我吗?我只尝试来自互联网的样本,但它们不起作用。
$(function () { ws = new XSockets.WebSocket("ws://127.0.0.1:4502/Broker"); }