removes setServer and setPort