MsgCom.IsConnected returns false

        private MessageCommunication MsgCom { get; set; }
 
        public void Init()
        {
            MessageCommunicationManager.Start(EnvironmentManager.Instance.MasterSite.ServerId);
            MsgCom = MessageCommunicationManager.Get(EnvironmentManager.Instance.MasterSite.ServerId);
        }
 
        public void Transmit(string messageId, MessageData data, FQID recipient = null)
        {
            if(MsgCom.IsConnected)
                MsgCom.TransmitMessage(new Message(messageId, data), recipient, null, null);
        }

This code works on my local pc but when I connect to our demo server MsgCom.IsConnected returns false. The Event server is running and alarms can be retrieved by the Smart Client. I can telnet to port 22331 and see that the MsgCom.Uri is valid. How do I troubleshoot this further?

This article might be helpful for you -

https://developer.milestonesys.com/s/article/Ports-for-alarms-from-Milestone-Event-Server-service