0
I created a Nodejs server with express but when I try to access http://localhost:3000 the page never loads, is loading only.
const http = require('http')
const express = require('express')
http.createServer(express).listen(3000, () => console.log("Servidor rodando local na porta 3000"));
You probably have a middleware that doesn’t call the function
next
. It would be interesting you edit the question by putting your current code so that we can help you better– Luiz Felipe