Ionic 4 Nodejs Server

Hi, I have a nodejs server running in a local environment. Customers connect via Wi-Fi connection. My problem is the ip address, I want the ip to be dynamic, automatically. Localhost knows that it doesn’t work, only through the fixed ipv4 (192.168.X.XX). Any solution? I tried everything.

Far and away the cleanest solution I can think of is to use DNS. If “customers connect via Wi-Fi connection”, then you have the ability to declare their DNS servers. An SSL cert that is valid for should still be considered valid even if you are providing local DNS.

Thanks for answering, I thought about doing that, but I need something more practical