xhr poll error #3973
Unanswered
MBEDevelopmentTeam
asked this question in
Q&A
xhr poll error
#3973
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
const express = require("express");
const app = express();
const http = require("http");
const server = http.createServer(app);
const { Server } = require("socket.io");
const { instrument } = require("@socket.io/admin-ui");
const io = new Server(server, {
cors: {
origin: ["https://admin.socket.io"],
credentials: true
}
});
instrument(io, {
auth: false
});
hey there this is my code for the server when iam on localhost its working/connecting to socketio ui admin but when i deploy it on my personal server it raises xhr poll error
http://172.16.100.205:3000/
this is my server ip and port
Beta Was this translation helpful? Give feedback.
All reactions