making app the app run on different ports based on environment config