ERR_CONNECTION_REFUSED

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
refthoom
Posts: 2
Joined: Mon Jan 29, 2018 7:10 pm

ERR_CONNECTION_REFUSED

Post by refthoom »

Hi, just new here, have been trying some stuff with dietpi. Great concept, really love it. However, I do seem to run into some issues. Maybe I'm overlooking something. BTW, I'm no Linux guru so please be gentle :-)

Yesterday I was configuring an Rpi 3 with dietpi. Installed pihole, pivpn, everything went fine. Then I went on to install raspcontrol. Installation gave no errors but the dashboard was unreachable. Installed rpimonitor on top, same thing. What is going on here, is it me? LOL

Today, to isolate things, I started a fresh. Downloaded the latest dietpi image, etched it to a 16GB SD. Hooked up the rpi to a monitor, just for information sake. Powered on, installation went fine. Time sync was a bit slow, nothing else. Initial updates and reboots were ok. Connected with putty, again initial updates and reboot, all ok.

After that, connected again with putty, selected raspcontrol under optimized software and ran install. No errors, just a reboot at the end. Now I go to the dashboard at: <IP>/raspcontrol and I get the following:

This site can’t be reached
<IP> refused to connect.
Search Google for raspcontrol
ERR_CONNECTION_REFUSED

I checked /etc/raspcontrol/database.aptmnt and it contains user and pwd root/dietpi.
Also checked /var/www/raspcontrol/ and there is all the raspcontrol stuff including an index.php file.
The network is fine I guess since I can connect to the console with putty.

What am I overlooking here?

EDIT: I removed raspcontrol and then installed linuxdash, which should also install LASP (just in case that failed whit the install of raspcontrol). After this the Linuxdash page showed but it was not rendering any graphs or anything. Just empty boxes.
Then I re-installed raspcontrol. Now instead of a refused connection, I get a 403 forbidden (<IP>/raspcontrol).
Ok, so uninstalled both of those and rebooted.
Now installed rpimonitor. So now I get a 'placeholder page' (<IP>/rpimonitor)

Is it me?
User avatar
k-plan
Posts: 416
Joined: Sun Feb 28, 2016 5:28 pm

Re: ERR_CONNECTION_REFUSED

Post by k-plan »

refthoom wrote:I checked /etc/raspcontrol/database.aptmnt and it contains user and pwd root/dietpi.
Also checked /var/www/raspcontrol/ and there is all the raspcontrol stuff including an index.php file.
The network is fine I guess since I can connect to the console with putty.

What am I overlooking here?
http://dietpi.com/phpbb/viewtopic.php?f ... art=20#p89

No page?:
Raspcontrol will only work if OpenSSH-Server is installed. Run dietpi-software and use SSH server from the menu to change. (Dropbear is default)
SSH Server change  menu
SSH Server change menu

--------------


refthoom wrote: then installed linuxdash, which should also install LASP (just in case that failed whit the install of raspcontrol). After this the Linuxdash page showed but it was not rendering any graphs or anything. Just empty boxes.

http://dietpi.com/phpbb/viewtopic.php?f ... rt=20#p108
([url]http://<IP>/linuxdash/app[/url])
------------
refthoom wrote:Now installed rpimonitor. So now I get a 'placeholder page' (<IP>/rpimonitor)
http://dietpi.com/phpbb/viewtopic.php?f ... t=50#p1503
([url]http://<IP>:8888[/url])
------------
refthoom wrote:Is it me?
DietPi-Software | Details for ALL installation options
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.
refthoom
Posts: 2
Joined: Mon Jan 29, 2018 7:10 pm

Re: ERR_CONNECTION_REFUSED

Post by refthoom »

@k-plan: Thx for these answers :-) I see most support is coming from you, that's awesome!
No page?:
Raspcontrol will only work if OpenSSH-Server is installed. Run dietpi-software and use SSH server from the menu to change. (Dropbear is default)
Somewhere in the install it is mentioned that Dropbear is the default install for SSH so I assumed it was already there/running. Also, I assumed if it was needed it would be installed as a depency of LASP.
refthoom wrote:Now installed rpimonitor. So now I get a 'placeholder page' (<IP>/rpimonitor)
Later, I did a fresh dietpi install and directly installed rpimonitor, it all worked fine (port 8888 of course, silly me :-) )
refthoom wrote:Is it me?
--> Yes definitely LOL

Reading more I found 'dietpi-services' which is a great help troubleshooting. Also found that 'cpu' and 'htop' give me all the info I need so no need for rpimonitor, raspcontrol or linuxdash, keeping it lightweight.

Running a DietPi now with pihole, pivpn, fail2ban. Took a little time to get the hang of it but now that I know my way around DietPi, I'm sold! Really really good stuff! I have an extra pi so if you need help with testing stuff just send me an email.

Thanks again :-)
Post Reply