deprecated getServer method