Android emulator cannot connect to my Expo without tunnel

Hello, I am building an app with create-t3-turbo in windows 11. I keep getting the error connection timed out from the Expo Go in the emulator. I've tried to turn off my firewall, set the REACT_NATIVE_PACKAGER_HOSTNAME environment variable, but all of these do not solve the issue. However, when I use the tunnel mode to open my app, it just works without all of the configurations. How can I solve the issue, or how can I setup the function getBaseUrl in tunnel mode when initializing tRPC client to make my Expo app connect to my tRPC endpoints?