I am trying to run the GenieACS UI and bind it to an IPv4 address, but it always binds to IPv6 As a result, I cannot access the UI using 192.168.1.30:3000.
OS: Ubuntu 22 verison
GenieACS Version: 1.2.13
Network Interface Details:
: 192.168.1.30
What I Have Tried:
Set the GENIEACS_UI_HOSTNAME to 0.0.0.0
GENIEACS_UI_HOSTNAME=0.0.0.0 node /usr/local/bin/genieacs-ui
But still, the logs show that the UI is binding to :: (IPv6).
Modified the systemd service file (/etc/systemd/system/genieacs-ui.service)
[Unit]
Description=GenieACS UI
After=network.target
[Service]
User=genieacs
EnvironmentFile=/opt/genieacs/genieacs.env
ExecStart=/usr/local/bin/genieacs-ui GENIEACS_UI_HOSTNAME=0.0.0.0
[Install]
WantedBy=default.target
Restarted the service, but still binds to IPv6 (::).
Checked active bindings using netstat:
sudo netstat -tulnp | grep 3000
tcp6 0 0 :::3000 :::* LISTEN /node
This confirms that the UI is listening on IPv6, not IPv4.
Tried Explicitly Setting IPv4 Bind Address:
GENIEACS_UI_HOSTNAME=192.168.1.30 node /usr/local/bin/genieacs-ui
Still binds to IPv6.
Expected Outcome:
I want GenieACS UI to listen on IPv4 (192.168.1.30:3000) so that I can access it from my browser.
UI binds only to IPv6
192.168.1.30:3000 does not open in the browser
Thank you in advance