How to configure Central/AlarmService2 for an external IP.

We need to access Milestone from the internet. We have done all the configuration about recording server, registered services “Network”, edited registered services to add the External addresses…

Almost everything works fine, but when we try to register to receive alarms (VideoOS.Platform.Proxy.AlarmClient.GetAlarmClient(ServerId)), it uses the local address, not the external address. It uses the hostname of the Event Server, not the DDNS we have configured as External addresses.

It gives this EndPointNotFoundException: There was no endpoint listening at http://localhostname:22331/Central/AlarmService2 that could accept the message.

It should try to connect to http://ddnsdefined.com:22331/Central/AlarmService2

I have tried to define a new registered service, using those URLs like we have done with the existing registered services (Event Server, Log Server, Report Server), but no success.

Is there something I am missing? What do I have to configure to get this working?

Thanks in advance!

https://developer.milestonesys.com/s/article/enable-public-access-in-XProtect-Corporate

Hi Bo,

Thanks, that’s exactly the guide I used to configure it.

And it’s out of date, by the way.

The log server url is now different, and the Service Channel does not appear any more…

That’s why I asked here, because the existing information didn’t help me…

As the problem is not related to software development with the MIP SDK (even if you are developing and has run into the issue because you do), which is the focus of this forum, please ask again in the support community, you should get better help from the partners using the support community.

https://supportcommunity.milestonesys.com

Thank you Bo, I will ask there, then.