我正在使用安裝在亞馬遜EC2服務器上的Express 4。我想知道我爲什麼不能與公共IP訪問我的服務器:8000/無法訪問EC2上的快遞服務器
這裏是我的服務器代碼:
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!')
});
轉儲您的防火牆配置在這裏?什麼是IP和端口,很樂意嘗試連接。 – deitch 2014-10-19 05:04:52