Page 1 of 1

Pi/domoticz access

Posted: Wednesday 22 September 2021 22:33
by jacobsentertainment
Not sure what went wrong, I have no access to my pi / domoticz when i'm on my mobile network. I do have access when I'm at home on my local network and this is blowing my mind.

Ill try to explain it to my best.
  • On mobile network
[*]No access to domoticz with use of ngrok tunnel
[*]No access with vnc to my pi (with domoticz installed)
[*]Access with vnc to my tablet/laptop with dashticz installed
  • On lokal network
[*]Access to domoticz on local ip/8080
[*]Access to domoticz with use of ngrok tunnel
[*]Access with vnc to the pi
[*]Access to the tablet/laptop with dashticz

So my troubleshooting mind, if it was the router firewall then I wouldn't get access to the tablet/laptop, anyway I checked same by disabling all and did not change any. I checked if the R-pi is connected to the internet by watching a video on youtube this works fine so this is not the issue.
I have access with a ngrok tunnel trough https and that works fine but only when I'm at home. I went to my company and tried to access from there trough the wifi and I'm not getting in.

I'm not sure on how to check if the ports are open (443,8080) to the internet, not sure if these would also be needed locall. But then why can't I connect with vnc from outside my network.... Damn this hurts.

I'm lost so I'm hoping there is some people here with some bright ideas!

Re: Pi/domoticz access

Posted: Thursday 23 September 2021 10:21
by jacobsentertainment
I have the vnc server back up, connected trough cloud service and it works. Still no luck on the domoticz site..

Re: Pi/domoticz access

Posted: Thursday 23 September 2021 12:32
by erem
i believe it is generally a BAD idea to expose these services directly to the internet.
i would suggest a vpn from your phone to your router.

you can use grc.com's shieldsup feature to see what ports you expose publicly if you want to see those

Re: Pi/domoticz access

Posted: Thursday 23 September 2021 12:38
by jacobsentertainment
erem wrote: Thursday 23 September 2021 12:32 i believe it is generally a BAD idea to expose these services directly to the internet.
i would suggest a vpn from your phone to your router.

you can use grc.com's shieldsup feature to see what ports you expose publicly if you want to see those
Both have there won level of protection, at least that was my understanding. For ngrok you have an personal key and vnc you need password and login details.
At this moment I'm working on a clean installation, pfff lots of work :|

Re: Pi/domoticz access

Posted: Saturday 25 September 2021 10:58
by jacobsentertainment
It seems there are more issues with ngrok and it still bothers me!
I tested a new sd card with fresh install of debian, domoticz and ngrok no success same issue. I had some help with testing someone that also uses domoticz and ngrok and he at first had it working and al of a sudden his remote access also stopped and resulted in the same error "Tunnel 59e7-187-53-167-76.eu.ngrok.io not found"

Anyway after a lot of playing around finding other tunnel services and installing them I found one that does work cotunnel And for somebody that has minimal it skills it's easy to install. Hope this could help others!

Re: Pi/domoticz access

Posted: Saturday 25 September 2021 11:29
by waltervl
I also tested some tunnels and it seems that a lot of those solutions do not like the auto refresh function updating the web UI of Domoticz.

Re: Pi/domoticz access

Posted: Saturday 25 September 2021 17:39
by kiddigital
Please also check how/where the DNS resolves to when at home (on the wifi, etc.) and when ‘outside’.

Because when at home, if your DNS sends you to the same ‘external’ ip (your IP address of your home from your ISP) that would mean that first you will been sent coming from an jnternal IP (on your wifi for example) to the external IP of your home (router). Most likely than your router has no clue how to go from internal-to-external-back-to-internal (your domoticz) again.