I'm using Express 4 installed on an amazon ec2-server. I was wondering why I can't access my server with the public-ip:8000/
Here is my code for the server:
var express = require('express');
var http = require('http');
var app = express();
http.createServer(app).listen(8000);
app.get('/', function (req, res) {
res.send('Hello World!')
});