diff --git a/mod/webserver.py b/mod/webserver.py index d84f5d0d..27cc4928 100644 --- a/mod/webserver.py +++ b/mod/webserver.py @@ -2468,7 +2468,7 @@ def prepare(isModApp = False): signal(SIGUSR2, signal_recv) set_process_name("mod-ui") - application.listen(DEVICE_WEBSERVER_PORT, address=("localhost" if DESKTOP else "0.0.0.0")) + application.listen(DEVICE_WEBSERVER_PORT, address=("127.0.0.1" if DESKTOP else "0.0.0.0")) def checkhost(): if SESSION.host.readsock is None or SESSION.host.writesock is None: