I've been searching about configuring Flutter to connect to localhost in a real device, but I haven't found anything.
I always get "Conecction timed out" when I make try to connect to the server in my localhost.
I've tried the application with the emulator with 10.0.0.2 and it worked, but now I want to try the connection in my device and it seems IMPOSSIBLE!
This is the error I get:
SocketException: OS Error: Connection timed out, errno = 110, address = 192.168.0.125, port = 41814
Please! It can't be such a difficult thing, I guess...
I'm using a Spring Boot server and Flutter. My device is OnePlus 6T.
When I use postman it responds fine, Idk what is happening here.



