I have a basic web application written in Java, running on a Tomcat on my localhost. Currently it's just a simple application with a single servlet to which I access from my browser.I want to write a mobile Android application which will be the client of my Java web application. I want the servlet to write to a database and do some logic, but to access it from a mobile app.
Currently I don't have any domain registered.
How can I expose my Java web app so that in my development environment I would be able to access it via my mobile device? Meaning, currently it runs locally on my PC and I access from the browser (on localhost). I want to access it from a different device (mobile) - how can it be done in my home LAN?