Webserver IP Issue

Hello! Loooong time BTT user. Probably my favorite Mac app ever. Love KM as well, but BTT has faster execution for the things it does.

I am using the web server to build custom dashboards. Running a stream-deck kinda thing on an android tablet. It works well. In fact, I’d be happy to share my easy to configure dash code when I am totally done!

Is there a way to (could there be a way) to tell BTT to advertise the web server on whatever interface is currently set as primary? I move between locations with my computer a lot. Each time I have to reset the public ip of the server so that the tablet can see it.

I could probably keep it at 127.0.0.1 and whip up a script to forward the en0 (or whatever interface) to localhost:port…and have that run whenever the primary interface changes…but if there were such functionality built in, I’d love it!

Thanks for listening!

HI

Could you explain what you mean by „advertising”?Do you want to receive some notification on Android device? Or just checking f.ex. in shell, on which ip address BTT is listening? The second is very easy to get using shell script?

I mean simply - could there be a setting that runs the server on whatever interface is designated “primary” in macOS…so that when I move around and use different network interfaces, the server uses the active address.

If you set it to 0.0.0.0, it would listen on all interfaces - maybe that is all you need?

oooo! ok…that will work I think. Thank you :slight_smile: