Replies: 1 comment 1 reply
-
Hi! I think that's because you can't use You'll need to be on the same network as your server (wifi) and use the IP address of your server, something like |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone!
I have developed a project using
socket-io-client
(Next.js) on the client side andsocket-io
(Node.js, Express) on the server side. When I run the project on my computer's browser, everything works fine. However, when I try to run the project on a mobile browser, I encounter a connection issue with the following error message: "connect_error due to xhr poll error".The problem arises during the connection to the server, and the specific error message is as follows:
Here is the client-side code:
And here is the server-side code:
If you have any experience or a solution regarding this issue, please share it in this discussion.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions