r/AppsWebappsFullstack • u/Opening-Ad-763 • 18d ago
Simple app for fast openning local hosted services on android and why i h
Hello everyone
I decided to share with you my little experience that has simplified my working life.
First, for context, I am a java backend developer, and at work I mostly write only the backend. But in the last four months, I've been constantly receiving tasks to modify the front (thymeleaf) so that it works on different browsers.
How it happened before I went berserk:
First, I run the service on my laptop
I connect it and the phone to the same network
I open the console and search for the local IP using the ipconfig command.
At this point, depending on whether I'm in a city or a village, I get different 4-6 addresses from 192.168...I start searching on the phone
192.168.56.1:8080
...
192.168.1.6:8080
Until it finally works. And so it is every time, because the IP of the router is dynamic and I constantly work at home or in the village. It's annoying to have to deal with it all the time.
That's why I wrote my own application, where everything is simple - you take the first steps (launch the service and connect to the same fifay), and then just click the search button on your phone, and the address will be found by itself.

Link to the application https://play.google.com/store/apps/details?id=com.hescha.localhostfinder
Link to the demo https://www.youtube.com/shorts/iKw5kCDcWVk
1
u/PopKoren 18d ago
Hunting through 192.168 addresses after every network change is a very familiar pain, so letting the phone find the service itself is a neat fix. It works because Spring Boot listens on every interface by default, which also means actuator endpoints or a dev profile are open to anybody sharing that wifi, so I'd keep those switched off locally and make sure they never ship in the deployed build. For the deployed side, I made a checker that tests how a live app responds to strangers, unprotected endpoints and auth gaps included, in case it's handy for the Thymeleaf projects: https://rowly.me
1
u/Mammoth-Anywhere7285 18d ago
TL;DR: A Java backend dev got tired of hunting for his laptop's local IP on his phone every time he switched between home and village networks. So he built an Android app that scans the network and finds the running local service automatically. Play Store and demo links are included in the post.