Zoneminder calling server IP when trying to view camera

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
hambleto
Posts: 2
Joined: Fri Aug 09, 2019 2:39 pm

Zoneminder calling server IP when trying to view camera

Post by hambleto »

Hello. I am running v1.32.3 on Ubuntu 19.04 When I go to view a camera I notice that it is making a call to the server ip on port 80 and not to the actual domain name path and port. The actual server has a DNS name, path, and runs over https. I am not seeing any errors in the log file.

When viewing the source it is calling this:
var monitorUrl = 'http://192.168.1.178:80/zm/index.php';
AND:
<div id="imageFeed"><img id="liveStream2" src="http://192.168.1.178:80/zm/cgi-bin/nph- ... 1565361758" alt="Camera name"

Thank you for any help / suggestions you may be able to provide.
hambleto
Posts: 2
Joined: Fri Aug 09, 2019 2:39 pm

Re: Zoneminder calling server IP when trying to view camera

Post by hambleto »

Thank you very much for the suggestion. I have checked the DNS and everything seems to be working. In addition I get the same issue both inside and outside the network. When ever Zoneminder goes to call a video stream it always pulls the server IP address that is behind the firewall and not the DNS name. If I look at the source from the page, copy the URL being called, paste it into the browser, and replace the IP address with the DNS name it works just fine both inside and outside the firewall.
Post Reply