Android App can’t reach domoticz server from web. (not a port forwarding issue)
Posted: Tuesday 02 May 2017 17:11
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.
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.