I am getting the issue as shown below in the image whatever I do there is no response. It was working fine until yesterday. I even created a new file to check if my previous file had any error.
const express = require('express')
const app = express()
const port = 6000
app.get('/', (req, res) => {
res.send('Hello World!')
})
app.listen(port, () => {
console.log(`Example app listening on port ${port}`)
})
Any help would be appreciated. Thanks!
I also flushed the dns but it didn't work. To add more my working directory is not working and showing the same thing! 127.0.0.1:6000 also not working!