What worked for me ( target: debug an windows server app running on localhost:99999 from an client app running on android phone )
- phone and pc connected on the same network e.g. 192.168.1.xxx ( connected via wifi in my case)
- enable port 99999 in windows firewall
- run in cmd as administrator: netsh http add urlacl url=http://*:99999/ user=Everyone
then the service app url (my_dev_machine_ip:99999/path_to_service) was accessible from the phone.