Page 1 of 1

8080 problem

Posted: Tuesday 05 May 2020 16:23
by Foglio
I keep having problems accessing domoticz through internet.

So what i just did is:
- format my sd card
- install new version of jessie
- install new version of domoticz
at this point i expected to have te system running again.

My next step was:
https://www.domoticz.com/forum/viewtopi ... 0+internet
i downloaded the armhf version of libssl.so.1.0.0 from https://packages.debian.org/jessie/libssl1.0.0
In a terminal window and I installed the package. Still no acces :-(

Next steps:
checked the modem and port 8080 is forwarderd. (i only use domoticz inhouse at the moment)\
checked the modem and port 8080 is also triggered.

Still no acces.

pi@raspberrypi:~ $ wget localhost:8080
--2020-05-05 14:12:54-- http://localhost:8080/
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:8080... failed: Connection refused.
Connecting to localhost (localhost)|127.0.0.1|:8080... failed: Connection refused.
pi@raspberrypi:~ $


is anyone able to help me? I would really like to acces domoticz again.

Re: 8080 problem

Posted: Tuesday 05 May 2020 16:29
by EddyG
Try again with Buster as OS, see https://www.domoticz.com/forum/viewtopi ... =3&t=32372
Buster is mandatory!
There is a lot of info how to upgrade to Buster, or better start all over with Buster.

Re: 8080 problem

Posted: Tuesday 05 May 2020 17:15
by sancla
https://sancla.com/domoticz/raspberry-p ... -domoticz/

This explains all steps in detail.
If you need any help, just send me an email or post on this forum...

Re: 8080 problem

Posted: Tuesday 05 May 2020 20:26
by Foglio
So i went back to scratch ;)

Installed Buster and updated it.
Putty worked fine on the same ip-adress as before

installed domoticz

and it did not work again!!!

Now i started typing this post and thought…. let's try one last thing….. sudo service domoticz start..... and it is running!!!
just added the autorun, so now it's Always up and running.

Thanks all!
now time to setup everything from scratch :shock: will put more energy next period to domoticz, Always fun if you understand how something works.

Re: 8080 problem

Posted: Friday 08 May 2020 15:50
by sancla
Some work there, but at least it's working again...

Thanks for the feedback, appreciated!

Re: 8080 problem

Posted: Thursday 19 November 2020 15:56
by henk99
I have tried the exact routine above, but it won't let me connect to the webinterface. I can access the RPI fine, but 'connection refused' when I go to the webinterface. Help please

Re: 8080 problem

Posted: Friday 20 November 2020 13:10
by erem
Henk,

First determine if domoticz is actually running
sudo systemctl status domoticz.service

this should give something like

Code: Select all

sudo systemctl status domoticz.service 

● domoticz.service - LSB: Home Automation System
   Loaded: loaded (/etc/init.d/domoticz.sh; generated)
   Active: active (running) since Fri 2020-11-20 01:46:18 CET; 11h ago
     Docs: man:systemd-sysv-generator(8)
  Process: 12636 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/
    Tasks: 21 (limit: 2065)
   CGroup: /system.slice/domoticz.service
           └─12644 /home/pi/domoticz/domoticz -daemon -www 8080 -sslwww 443 -log

Nov 20 01:46:17 RPi-Rob systemd[1]: Starting LSB: Home Automation System...
Nov 20 01:46:18 RPi-Rob domoticz.sh[12636]: 2020-11-20 01:46:18.034  Status: Dom
Nov 20 01:46:18 RPi-Rob domoticz.sh[12636]: 2020-11-20 01:46:18.038  Status: Bui
Nov 20 01:46:18 RPi-Rob domoticz.sh[12636]: 2020-11-20 01:46:18.040  Status: Sta
Nov 20 01:46:18 RPi-Rob domoticz.sh[12636]: domoticz: Domoticz is starting up...
Nov 20 01:46:18 RPi-Rob domoticz[12642]: Domoticz is starting up....
Nov 20 01:46:18 RPi-Rob domoticz[12644]: Domoticz running...
Nov 20 01:46:18 RPi-Rob systemd[1]: Started LSB: Home Automation System.

if it is anything other than Active: active (running)
try
sudo systemctl restart domoticz.service

if it is running, try to access domoticz from the pi itself at 127.0.0.1:8080