Milesight IoT Cloud is an application server and requires the embedded network server of Milesight gateway. Since SG50 gateway does not equips with embedded network server, it can not connect to Milesight IoT Cloud. It is suggested to connect SG50 to Milesight Development Platform which support both management and LNS feature.