Closed mythral0 closed 4 years ago
Apologies, I've figured it out.
sorry, how did you manage to access? i tried the ip:8888 but doesn't work! Thanks!
@sladaar when you run the command ledfx
or ledfx --open-ui
notice the default is to only host the webserver locally. i.e 127.0.0.1:8888
. If you notice as well, the output of the command shows where the config file is loaded from, for me it was /home/pi/.ledfx
. Open that file in your preferred text editor sudo nano /home/pi/.ledfx/config.yaml
, and change the host address to ether your IP or 0.0.0.0
, save and re-run the ledfx
. You can now access the web dashboard from other devices on your LAN.
many many thanks @Tim-Dixon , it works flawlessly and now i can control through the web interface in my domotic environment! Great! Have a nice day!
I've got the same issue. I added
host: 0.0.0.0
to the config.yaml, but it is still starting the webinterface at http://127.0.1.1:8888.
Also here. I put the host, changed the port and still does not load the web interface.
http://127.0.1.1:8383/ http://127.0.0.1:8383/ http://localhost:8383/ http://127.0.2.10:8383/
Started webinterface at http://127.0.2.10:8383/
My config now
dev_mode: false
devices: {}
max_workers: 10
host: 127.0.2.10
port: 8383
presents: {}
Strange, I´ve got it working by using the devices IP instead of 0.0.0.0: dev_mode: false devices: {} max_workers: 10 port: 8888 presents: {} host: 192.168.0.107
Started webinterface at http://192.168.0.107:8888
@douglasbaptistasenai did you try host: 0.0.0.0
or host: your-ipv4 (i.e: 192.168.1.10)
? The 127 is your localhost internal network and running anything on that subnet will only be available from that device. Putting it on 0.0.0.0 or your host's LAN IP opens up the port, 8383 in your case, to other devices on your LAN from your host's IP.
Hi, really cool project. I've completed installation on Debiun 10, when I start it, it starts the web server, but on address 127.0.0.1, how do I get it to bind to a different interface?