protected internal NetworkServerEntity(string ip, int port) { _idProvider = IdProvider.CreateNew(); _targetIp = ip.Replace("localhost", "127.0.0.1"); _targetPort = port; }