I am trying to run the example app. Only change is port number 8002 in my code.
I see this error when I try to make a WebSocket request to the server from Postman
Error: Unexpected server response: 403
Handshake Details
Request URL: http://localhost:8002/socket.io/?EIO=4&transport=websocket
Request Method: GET
Status Code: 403 Forbidden
Request Headers
Sec-WebSocket-Version: 13
Sec-WebSocket-Key: fKVQf5eYrPb4tfZx6iHFEg==
Connection: Upgrade
Upgrade: websocket
Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits
Host: localhost:8002
Response Headers
Date: Thu, 22 Dec 2022 04:43:26 GMT
Content-Length: 0
Content-Type: text/plain
Connection: close
I am trying to run the example app. Only change is port number 8002 in my code. I see this error when I try to make a WebSocket request to the server from Postman
How can this be fixed? Appreciate any pointers.