Shell/Bash: could not connect to development server Example

By

Shell/Bash Example: This is the "could not connect to development server" Example. compiled from many sources on the internet by SimpleTutorials.org

could not connect to development server

//run this command
adb reverse tcp:8081 tcp:8081

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


* Summary: This "could not connect to development server" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others