我有一台 RedHat Amazon EC2 机器。我已经在这台机器上安装了 Play 框架并创建了一个示例应用程序调用test。
我还开放了 8080 端口来获取外界的请求。
8080 (HTTP*) 0.0.0.0/0
如果我正在执行 Play 应用程序 ( test ),如下所示:
play "run 8080"
我得到以下信息:
--- (Running the application from SBT, auto-reloading is enabled) ---
[info] play - Listening for HTTP on /0:0:0:0:0:0:0:0:8080
(Server started, use Ctrl+D to stop and go back to the console...)
当我尝试通过浏览器访问时:
http://public-dns.com:8080
我什么都得不到。
有人能告诉我我忘记了什么吗?或者我做错了什么?