set correct ports for environments