部署播放框架应用程序时出现问题

时间:2015-02-16 21:18:05

标签: web-applications playframework playframework-2.0

所以我终于设法在我的服务器上启动我的应用程序,没有任何例外:

[info] Done packaging.

(Starting server. Type Ctrl+D to exit logs, the server will remain in background                   )

Play server process ID is 12205
[info] play - database [default] connected at jdbc:mysql://localhost/botlane
[info] play - Application started (Prod)
[info] play - Listening for HTTP on /0:0:0:0:0:0:0:0:9000

让我感到困惑的是/0:0:0:0:0:0:0:0:9000

所以问题是我无法访问启动的服务器,我也无法弄清楚如何停止并重新启动它。

我的配置文件如下所示:

# The application languages
# ~~~~~
application.langs="en"

%production.application.mode=prod
%production.jpa.ddl=create
%production.http.port=80

# Default database configuration using MySQL database engine
db.default.driver=com.mysql.jdbc.Driver
db.default.url="jdbc:mysql://localhost/"
db.default.user=
db.default.pass=""

ebean.default="models.*"

evolutionplugin=disabled

感谢您的帮助,这是我第一次在远程服务器上部署Web应用程序

1 个答案:

答案 0 :(得分:1)

你的帖子中没有太多信息。我假设您使用的是Linux操作系统。这意味着,您应该能够使用基本的unix工具查看java进程:

ps -elf | grep java 

其次,0.0.0.0:9000只是意味着服务器将绑定到端口9000上的所有传入IP。

相关问题