I can access my Web API server from a Windows app without problems. From Android, though, is a different story
Why would that be?
Is "localhost" the wrong thing to use (in the URL)? Should I use the name of the computer instead?
Does the string (passed literally as "http://localhost:28642/api/Departments/GetCount?serialNum=4242
") need to be verbatimized?
What is the difference between a Windows app calling a REST method, and an Android app calling the same REST method, that would cause the latter to fail (connection refused)?