From e1359584ed10721440f880cc2428aee4828330ec Mon Sep 17 00:00:00 2001 From: bigbret1337 <117082983+bigbret1337@users.noreply.github.com> Date: Mon, 31 Oct 2022 18:42:22 +0700 Subject: [PATCH] Update calculator.js --- BMICalculator/calculator.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BMICalculator/calculator.js b/BMICalculator/calculator.js index 6d1c85ba..6f760ec2 100644 --- a/BMICalculator/calculator.js +++ b/BMICalculator/calculator.js @@ -23,6 +23,6 @@ app.post('/bmicalculator', function (req, res) { var ans = n / (m * m); res.send('The BMI for the given values is:' + ans); }); -app.listen(3000, function () { - console.log('Server start on port 3000'); +app.listen(3001, function () { + console.log('Server start on port 3001'); });