Answers for "react native cannot connect to metro server"

2

could not connect to development server

//run this command
adb reverse tcp:8081 tcp:8081
Posted by: Guest on May-11-2020
0

react native cannot connect to metro server

echo 256 | sudo tee -a /proc/sys/fs/inotify/max_user_instances
echo 32768 | sudo tee -a /proc/sys/fs/inotify/max_queued_events
echo 65536 | sudo tee -a /proc/sys/fs/inotify/max_user_watches
watchman shutdown-server

 Or
 
 echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_user_watches && echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_queued_events && echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_user_instances && watchman shutdown-server && sudo sysctl -p
Posted by: Guest on November-16-2020

Code answers related to "react native cannot connect to metro server"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language