moonraker binding to localhost / loopback address apart from network IP. #957
blackMoonknight
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need to be able to access moonraker on an HMI display connected to RPI. A browser window is shown on the HMI display and interact with klipper / moonraker via localhost (127.0.0.1) URL. However, I am unable to set moonraker binding to accept localhost requests even after updating the moonraker "host" param to "all". Kindly provide any pointers that can help moonraker to be accepted on 127.0.0.1.
Moonraker Configuration File
[server]
host: all
port: 7125
------------ # Make sure the klippy_uds_address is correct. It is initialized ------------
------------ # to the default address. ------------
klippy_uds_address: /tmp/klippy_uds
[authorization]
cors_domains:
https://my.mainsail.xyz
http://my.mainsail.xyz
http://.local
http://.lan
trusted_clients:
10.0.0.0/8
127.0.0.0/8
169.254.0.0/16
172.16.0.0/12
192.168.0.0/16
FE80::/10
::1/128
enable_api_key: true
------------ # enabled: true ------------
------------ # default_source: moonraker ------------
[authorization.users]
pi: moon
[authorization.api_keys]
my_key: secret
[machine]
provider: systemd_dbus
Beta Was this translation helpful? Give feedback.
All reactions