On a fresh install of CherryMusic, you are prompted to listen on localhost only. If you select yes, the config file is written correctly, but the server continues to listen on 0.0.0.0:8080 since that's how it's started.
This could probably be fixed by either rebinding the port if the user selects localhost only or by defaulting to listen on 127.0.0.1 (but then you'd have to rebind to 0.0.0.0 if the user does not check the box).
On a fresh install of CherryMusic, you are prompted to listen on localhost only. If you select yes, the config file is written correctly, but the server continues to listen on
0.0.0.0:8080
since that's how it's started.This could probably be fixed by either rebinding the port if the user selects localhost only or by defaulting to listen on 127.0.0.1 (but then you'd have to rebind to 0.0.0.0 if the user does not check the box).