how to run process.env.port on localhost code example Example: const port = process.env.port || 3000 const port = process.env.port || 3000