Launch the dialer app on the originating emulator instance. As the number to dial, enter the console port number of the instance you’d like to call. You can determine the console port number of the target instance by checking its window title, where the console port number is reported as “Android Emulator (<port>) .
Read moreWhy is 127.0 0.1 refused to connect?
0.1 (loopback address). So your client is trying to connect to any of the non-loopback addresses of your machine, while your server is listening only on the loopback address . So, no connection can be established. The solution to this problem is that connect to the same end point your server is listening on .
Read moreWhat causes refused to connect?
Connection refused means that the port you are trying to connect to is not actually open . So either you are connecting to the wrong IP address, or to the wrong port, or the server is listening on the wrong port, or is not actually running.
Read more