WebSocket error #37331
Labels
Needs: Author Feedback
Needs: Environment Info
Please run `react-native info` and edit your issue with that command's output.
Needs: Repro
This issue could be improved with a clear list of steps to reproduce the issue.
Description
react-native 0.71.7
react 18.2.0
React Native Version
0.71.7
Output of
npx react-native info
{"isTrusted":false,"message":"Failed to connect to /127.0.0.1:3000"}
Steps to reproduce
yarn android
Snack, code example, screenshot, or link to a repository
const socket = new WebSocket('http://127.0.0.1:3000'); socket.addEventListener('error', (err: any) => { console.log('============', err); })
The text was updated successfully, but these errors were encountered: