I try to change the port number ut this error appears(MongoServerError: bad auth : authentication failed at Connection.onMessage ) and I want to delete every thing by write this in terminal ( how can I write this ( ) in windows terminal to kill the port or any other solution //dealing with static files app.use(express.static('public')) // bring ejs app.set('view engine', 'ejs') // move between pages app.get('/', (req, res) { res.redirect("/html") \}) app.get('/html', (req, res) { \}); res.render("addnew") app.listen(port, () { console.log('Example app listening on port $ { p or t } ) \} ).