React-native Timeout when connecting to remote debugger in windows

I am new to React-Native and android app development as a whole. While i try to run remote debugger in Android Emulator (Pixel 2 phone), I get the following error in the emulator: Error on Emulator

Then after, even if I stop remote debugging, the application won’t run on the emulator (i.e. nothing is rendered into the emulator screen). I need to run the project again.

Following is the auto-generated debugger URL:

How can I Fix this problem?

Answer This is internal IP the Android VM, with your browser use localhost:8081/debugger-ui reference

Source: stackoverflow
The answers/resolutions are collected from stackoverflow, are licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0 .