I try to install Grafana and OpenLitespeed (CyberPanel) in same VPC server. When I install both same server, both pages are not loading. Example: VPC public ip - a.b.c.d, when go to a.b.c.d IP address root 404 Page Not found not loading. Also when go to a.b.c.d:3000 will give ERR_CONNECTION_REFUSED
error.
I went to /usr/local/lsws/conf/vhosts/Example
and open vhconf.conf then I can see there is siteAliases 127.0.0.1 localhost
. I change it to 0.0.0.0 localhost
and restart it sudo /usr/local/lsws/bin/lswsctrl
restart now LiteSpeed root page loading 404 Not Found
Page which is working fine but grafana not working. 404 Not Found
Page only load http. https connection give ERR_CONNECTION_REFUSED
error.
I try following steps but it also not working.
Open sudo nano /etc/grafana/grafana.ini
and edit http_addr = 0.0.0.0
. Then restart using sudo systemctl restart grafana-server
.http_addr =
was blank. I can see other configurations in grafana.ini
have 127.0.0.1 for IP address.
I try this crul 127.0.0.1:3000
then I got LiteSpeed root page loading 404 Not Found
Page HTML code.
How to solve Grafana issue and litespeed https ERR_CONNECTION_REFUSED
error?
Note: Ports are open for public in firewall and cloud provider.