patri9ck / a2ln-server

A way to display Android phone notifications on Linux (Server)
GNU General Public License v3.0
99 stars 8 forks source link

Allow specifying a listening address #22

Closed ctrl-q closed 1 year ago

ctrl-q commented 1 year ago

We currently can only specify listening ports, but it would be nice to be able to specify a listening address. This way, someone who uses an SSH tunnel for example, could listen only on tcp://127.0.0.1:<port> instead of listening on all addresses

patri9ck commented 1 year ago

Thanks for the feature request! I will add it in the following days.

patri9ck commented 1 year ago

@ctrl-q Could you maybe checkout my branch custom-addresses and take a look whether it is a solution to your problem?

ctrl-q commented 1 year ago

It's working! But maybe to avoid this being a breaking change, the default address should be * or 0.0.0.0 rather than 127.0.0.1