POrting ZM

Forum for questions and support relating to the 1.29.x releases only.
Locked
rfeyer
Posts: 34
Joined: Sun Jul 10, 2016 11:36 am

POrting ZM

Post 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
bbunge
Posts: 2956
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: POrting ZM

Post by bbunge »

ZM runs in Apache which is a web server. Default web server port is 80.
rfeyer
Posts: 34
Joined: Sun Jul 10, 2016 11:36 am

Re: POrting ZM

Post by rfeyer »

Ty vm for answer

Is there a way to assign a different port to zm?
mikb
Posts: 674
Joined: Mon Mar 25, 2013 12:34 pm

Re: POrting ZM

Post 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.
User avatar
gnocera
Posts: 34
Joined: Thu Jun 04, 2015 6:31 pm

Re: POrting ZM

Post 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.
Locked