You can allow your device to access your local host without disabling the firewall by following these steps:
1 find out your mobile IP address, it differs in how to get it from an Android device to the device. In my device, I can get it by doing settings → WIFI → advanced, then find my mobile IP address.
2 follow the correct answer to question so that your firewall allows access to a specific IP address.
but, as @Alexei said, you must know the port you want to access, otherwise you won’t get anything.
, .