Page 1 of 1

Android App can’t reach domoticz server from web. (not a port forwarding issue)

Posted: Tuesday 02 May 2017 17:11
by coffeesnob1967
Greetings, I am very new to the world of domoticz but I like it a lot. Very powerful application and easy to use, but I am having a couple of issues. First off, please forgive me if I have posted this in the wrong place, I have had a good look through the forum and found a number of posts that kind of sounded similar here so I am hoping for the best.
So here is my issue. I have built a domoticz on a raspberry pi, I am using version 3.5877, I have a couple of devices that I have built using Mysensor. This is all working exactly as I expect it to and I am pretty happy.
I have my rpi on my network and I have setup a static port forward (port 80) to my public IP address where I have a domain name pointed. For the time being I am only using http (I am very well aware of the risks) I have the domoticz android app running and I have paid for the full version because I want to setup multiple servers.
Here is where I get an issue. The android app connects 100% perfectly when my smartphone is connected to my network using the internal server IP address. As stated above I am using http and for simplicity I am using port 80 (I will change this to https and a totally random port later, so please don’t get hung up on this point) however if I try to connect using either my external IP address or my domain name the app can’t connect to the server. The ports are the same so this is rather odd.
if I try to open the server page on a web browser on my pc it works perfectly using both the internal address or the external address.
I am wondering if the app connects to the server using a second port that we don’t know about? If so what is it so I can present that second port to the world and see if that fixes it.
I should point out, I’m not very strong when it comes to scratching around under the hood of my android phone, so if you need any further info about the phone OS of the app version, you will have to be specific in how I find it. I will do my best to provide as much information as I can to solve this issue because it is killing my joy of this great product and I cant use it without the phone app working from the world.

Thanks in advance.

Re: Android App can’t reach domoticz server from web. (not a port forwarding issue)

Posted: Thursday 04 May 2017 10:01
by galadril
The app has local and remote server settings.

- local server settings is when you're at your home network. When you set the local settings, you also have to select your SSID of your local network.
- remote server settings is for the outside world.

you could test this also by browsing your remote ip to see if you have any connection with it.

Re: Android App can’t reach domoticz server from web. (not a port forwarding issue)

Posted: Thursday 04 May 2017 10:42
by coffeesnob1967
@galadril thanks for the reply. I have gone back and double checked everything and I also went onto the web browser on my phone and connected using the domain name. after doing that successfully the app now works.. go figure. I now have an issue with Geofencing but I will post that separately. thanks again for your help.

Re: Android App can’t reach domoticz server from web. (not a port forwarding issue)

Posted: Tuesday 04 July 2017 23:21
by Ron
I must say that the server settings in this Android app are not quit logical, or even simple to understand.
The best word i think is confusing, these settings should be made better.

Re: Android App can’t reach domoticz server from web. (not a port forwarding issue)

Posted: Thursday 06 July 2017 14:06
by miniomar
Hello to everybody

I have an similar issue with domoticz lite. Below my setup. May you suggest something ?

Domoticz ver. 3.5877, installed on PC with WIN7 OS.
I'm using an AEON USB Stick gen5 (zwave ctrl) to drive one lamp with a qubino flush relay.
The PC is connected to a router DGN2200v3 netgear.
I installed on my android smartphone the domoticz lite app (Domoticz Home Automation Lite).
If I'm connected to my lan the android app works perfectly.
If I tried from 3G/4G netwrok it doesn't work.
Probably I have to modify some parameter in the setup menu of domoticz, not well settled, but I'm a bit confused.
any suggestion ?
Thanks in advance

Re: Android App can’t reach domoticz server from web. (not a port forwarding issue)

Posted: Tuesday 30 January 2018 22:10
by Jimmy06
Hi,
I am having exactly the same problem.
Did you find a way to solve it?
Thank you
Jimmy

Re: Android App can’t reach domoticz server from web. (not a port forwarding issue)

Posted: Saturday 10 February 2018 16:57
by billouetaudrey
Hi,

Need to redirect your ip server with 8080 port in your router



ScreenShot in frenchImage

Envoyé de mon Redmi Note 4 en utilisant Tapatalk


Re: Android App can’t reach domoticz server from web. (not a port forwarding issue)

Posted: Monday 19 February 2018 18:30
by Jimmy06
Thanks,

That's what I did, but not with the good port.
Everything's solved !

Jimmy

Re: Android App can’t reach domoticz server from web. (not a port forwarding issue)

Posted: Wednesday 21 February 2018 12:04
by billouetaudrey
Jimmy06 wrote:Thanks,

That's what I did, but not with the good port.
Everything's solved !

Jimmy
Great :)

Envoyé de mon Redmi Note 4 en utilisant Tapatalk