-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connecting React Client to Net SocketIO Backend results in 404 error #973
Comments
Your filter is applied only for Spring web server, but netty-socket.io starts separate netty server and uses another port which you can specify in |
@shutuper Thanks for the reply. I updated the code to
But still i get cors issue, I am accessing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to connect my Next.js frontend to Spring boot backend in which I am using netty socketio server
I get 404 error in browser console
This is my backend code
I also added cors in my main application class
This is my frontend NextJs code
Complete source code here
Encountering a 404 error in the browser console when trying to connect your Next.js frontend to your Spring Boot backend using Netty Socket.IO server
The text was updated successfully, but these errors were encountered: