Uncaught Eror: java.net.connectException: failed to connect to localhost/127.0.0.1:19000

Hi!

I am using android emulator and when i try to expo start and then run in android emulator

It run once then when i try to change anything in the code automatically refresh on save don’t work so i try to reload project but it gives me this error

Uncaught Eror: java.net.connectException: failed to connect to localhost/127.0.0.1:19000

I am new to react native and expo and because of this I can’t follow up with the course.

Thanks in advance for helping.

I faced a similar issue, just restart the expo client in vscode terminal, it will work. Hope it helps