'todos' runs on Android emulator but not on Android devices



I ran into a weird situation where the standard ‘todos’ sample run fine on Android emulator but fails on 2 physical Android phones. It just says ‘The connection to the server was unsuccessful. (http://localhost:12224)’. I checked local:3000 and it is up. iOS simulator also works.

I have googled hard for that error but came up w/ nothing. What am I missing here?



Found the reason. It had something to do w/ my firewall rule.