non standard port config

A place for discussion of topics that are not specific to ZoneMinder. This could include Linux, Video4Linux, CCTV cameras or any other topic.
Post Reply
aalhard
Posts: 11
Joined: Thu Nov 06, 2008 6:11 am

non standard port config

Post by aalhard »

I have several boxes I port-forward to, I now have a zm box in that group.

I want to know how to get the zm box to respond to a non-standard port so I can assign it to the box. (ie http://ipaddrs:25555)
aalhard
Posts: 11
Joined: Thu Nov 06, 2008 6:11 am

SOLVED: Changed ip port!

Post by aalhard »

I had to poke around a bit

I should have mentioned I am using ZMLinuxOS (Nice set up btw)
The apache conf files are in non standard locations and once I found them all was clear.

In /etc/httpd/conf/httpd.conf simply set ServerName to the ip:port I want to use.

ie:
ServerName 192.168.111.128:7533

means I would enter the URL:
http://192.168.111.128:7533/zm
to access my zm server from another system on my lan and would use port 7533 to forward traffic across my router to it

PS
I also set the Listen directive in httpd.conf to 0.0.0.0:7533
this tells it to listen to any ip on port 7533 , so I can still use localhost or 127.0.0.1 from the server itself


I hope this helps keep anyone from getting lost like I did :D
TrOjAn
Posts: 74
Joined: Thu Sep 11, 2008 5:03 pm

Post by TrOjAn »

you can change the /etc/apache2/ports.conf from 80 to whatever you want ;)

TrOjAn
aalhard
Posts: 11
Joined: Thu Nov 06, 2008 6:11 am

Post by aalhard »

only if you have apache2 installed

ZMLinuxOS does not use apache2

it uses apache and the file is where I said it was

in fact the file "ports.conf" does not exist on my install
Post Reply