- reading the right port in production 
- changed default back to development