I've looked everywhere and can't find an elegant solution to this.
I'm trying to run Dashing on a Raspberry Pi - and I'm having problems connecting to the dashboard.
Dashing logs say:
Listening on 0.0.0.0:3030
However, my localhost IP is 127.0.0.1.
Trying to connect via localhost:3030/sample or 127.0.0.1:3030/sample or 0.0.0.0:3030/sample all fail with a (146) Connection Refused.
Pinging localhost/0.0.0.0 both re-route to 127.0.0.1.
I can however connect when I use my network IP address - found using
hostname -I
It works as expected. However, this isn't really a great solution as this IP address may change next time I reboot the Pi.
I am using a proxy, which is defined in both the /etc/environment and /pi/home/.profile files. However, I can't see why that should make a difference.
If anybody might have any clues about this - I'd appreciate it! Thanks.
I don't know anything about Dashing, but my spontaneous reaction is why don't you just assign a static network ip to the Raspberry Pi by adding something like following codes to the /etc/dhcpcd.conf:
Will that solved your problem?