I have to connect to server(servlet on tomcat) always running and process the http request and send the response..
Client is Androbile mobile application.
I aware that I can connect using HTTP Client..
But to connect from device to server running on my PC…
I want to check if I can connect to my localhost from device…
Also if I want to use mobile network to connect from any android device on which this app is deployed…. Do I have to host this website(Server)…
Please help me
You can do it if you have WiFi, simply join network and then in browser provide IP of your pc. As for wider accessibility, then yes you need to get host