Page 1 of 1

POrting ZM

Posted: Fri Jul 29, 2016 5:55 pm
by rfeyer
Hi all,
Finally have ZM working - had to change Mint 17 to Ubuntu 16.04 and all worked quite well!
Am able to find the GUI over LAN with ip_address/zm

I have been looking through the options menus to see if there is a port allocation but could not find one. I am new to Linux, so I am not sure if it works the same - can ZM be configured for a specific port which I then can forward with the modem which I then can access over internet?

Rainer

Re: POrting ZM

Posted: Sat Jul 30, 2016 7:30 pm
by bbunge
ZM runs in Apache which is a web server. Default web server port is 80.

Re: POrting ZM

Posted: Sat Jul 30, 2016 9:15 pm
by rfeyer
Ty vm for answer

Is there a way to assign a different port to zm?

Re: POrting ZM

Posted: Sun Jul 31, 2016 4:22 pm
by mikb
You will have to look at your APACHE server configuration (or any bits that Apache imports from Zoneminder in addition to your standard httpd.conf file).

It is Apache that controls what port the ZM interface appears on.

Re: POrting ZM

Posted: Tue Aug 02, 2016 5:57 pm
by gnocera
Hi,

Probably you will have to edit the file
/etc/apache2/ports.conf
and you will have to add a Listen xxx where xxx is the port number you want to enable, for instance

Listen 8080

After you save the file you will have to execute the following command from terminal:
sudo service apache2 restart

You can now point your browser at http://your_server_IP:xxx/zm
and you will have zoneminder working on port xxx

Notice that you can listen multiple ports (multiple listen lines) that means you can remain the port 80 and add others at your convenience.

Regards.