Events reception needs hostfile entry

The alarm reception client works only if we add a host entry on the Milestone SDK machine. Is there a web API to receive alarm notifications from the milestone?

For example:

Milestone Machine name: Desktop-fj34fd

Private IP: 192.168.1.101

If we try to connect this machine from another client machine in the same private network using component SDK we are not receiving events. Streaming is not working in the Smart client as well.

But after adding a host entry “192.168.1.101 Desktop-fj34fd” in the client machine, everything works. Any idea why this is needed and any way to correct this?

Hi Suresh,

My guess is that you’ll need to either make sure DNS/netbios name resolution works in your network, or update the Event Server’s registered service entry in Management Client under Tools > Registered Services to replace the DNS name with the IP address of the Event Server.

The Event Server address is discovered from the Registered Services entries and by default, hostname resolution is required.