I can't see the image, I think you forgot to link it in your comment. Is the node application accessible on the server itself from localhost:3000? When exactly are you receiving that error?
The port is configured in node. The app.listen statement takes the port on which the node application will listen.
app.listen(3000, function () {
console.log('Example app listening on port 3000!');
});
If you change that number, the application will listen and be accessible on a different port.
We're a place where coders share, stay up-to-date and grow their careers.
Hi,
I can't see the image, I think you forgot to link it in your comment. Is the node application accessible on the server itself from localhost:3000? When exactly are you receiving that error?
The port is configured in node. The
app.listen
statement takes the port on which the node application will listen.If you change that number, the application will listen and be accessible on a different port.