Page 1 of 1
Ports to open for app to work
Posted: Mon Mar 13, 2017 3:18 am
by MoOz
Hi I am using
ZM 1.30 and Ubuntu 16.04
and the ZmNinja app
the app works on the local LAN
but not from the WAN side
port 80 on my firewall is open to my zoneminder
do i have to open more ports ?
maybe i missed the document somewhere
Re: Ports to open for app to work
Posted: Mon Mar 13, 2017 1:28 pm
by asker
The app doesn't need any additional ports.
If the app is working from LAN but not WAN, and you are using HTTPS, it is very likely an issue with your SSL certificate
https://github.com/pliablepixels/zmNinj ... use-wan-ip
Re: Ports to open for app to work
Posted: Tue Mar 14, 2017 5:53 am
by MoOz
Hi
thanks for your information and help
i am using HTTP
so i will turn on https
Re: Ports to open for app to work
Posted: Tue Mar 14, 2017 7:46 am
by MoOz
ok
i used this link to enable HTTPS
https://help.ubuntu.com/12.04/servergui ... figuration
sudo a2enmod ssl
sudo a2ensite default-ssl
sudo service apache2 restart
Https works from browser and app
Re: Ports to open for app to work
Posted: Tue Mar 14, 2017 7:55 am
by MoOz
for CERT used the link
https://github.com/pliablepixels/zmNinj ... use-wan-ip
created dir
sudo mkdir /etc/apache2/ssl
sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/apache2/ssl/zoneminder.key -out /etc/apache2/ssl/zoneminder.crt
edited the apache ssl config
restart
cannot connect with the app using Wan
work on the Lan
Re: Ports to open for app to work
Posted: Tue Mar 14, 2017 2:35 pm
by asker
1) Can you access ZM from WAN using a mobile browser?
2) If you can, please post zmNinja logs (debug logs - enable debug in dev options)
Re: Ports to open for app to work
Posted: Sat Mar 25, 2017 6:36 am
by alfvicente
If you're using SSL try opening port 443 as well