Error: connection to http if your running on the device, if you have the right IP adderss

This is new kind of error im facing.

The moment I hit the login view on my app i get this error. very weird.
Any ideas how to avoid this ?