Added line to get port if deployed or default to 3000