grails指定端口运行工程
来源:互联网 发布:软件著作权登记有啥用 编辑:程序博客网 时间:2024/05/16 07:15
我的环境:
| Grails Version: 3.1.4
| Groovy Version: 2.4.6
| JVM Version: 1.7.0_80
根据grails手册,可以通过以下方式指定端口,不过我发现无效哈!
grails -Dserver.port=8090 run-app
-------------------------------------------------------------
解决方法:
| Enter a command name to run. Use TAB for completion:
grails> help run-app
| Command: run-app
| Description:
Runs a Grails application
| Usage:
grails run-app
| Flags:
* debug-jvm - Starts the JVM in debug mode allowing attachment of a remote debugger
* https - Starts Grails in HTTPS mode on port 8443
* port - Specifies the port which to start Grails on (defaults to 8080 or 8443 for HTTPS)
* host - Specifies the host to bind to
* verbose - Show more output from the build during startup
grails>
根据帮助命令help run-app的提示信息可知,port用于指定端口,于是,我试了一下:
run-app --port=80
竟然成功了哈。。。
| Grails Version: 3.1.4
| Groovy Version: 2.4.6
| JVM Version: 1.7.0_80
根据grails手册,可以通过以下方式指定端口,不过我发现无效哈!
grails -Dserver.port=8090 run-app
-------------------------------------------------------------
解决方法:
| Enter a command name to run. Use TAB for completion:
grails> help run-app
| Command: run-app
| Description:
Runs a Grails application
| Usage:
grails run-app
| Flags:
* debug-jvm - Starts the JVM in debug mode allowing attachment of a remote debugger
* https - Starts Grails in HTTPS mode on port 8443
* port - Specifies the port which to start Grails on (defaults to 8080 or 8443 for HTTPS)
* host - Specifies the host to bind to
* verbose - Show more output from the build during startup
grails>
根据帮助命令help run-app的提示信息可知,port用于指定端口,于是,我试了一下:
run-app --port=80
竟然成功了哈。。。
0 0
- grails指定端口运行工程
- Grails 改变端口运行
- Grails启动指定项目的端口
- grails运行在不同的端口上
- 运行jar包时指定端口
- grails 端口设置
- grails更改端口号
- Grails工程目录结构
- 更改Grails默认服务端口
- Grails工程与maven集成
- jetty-runner.jar指定端口运行war包
- 用dos命令如何查看指定端口是否正常运行
- IPython notebook(Jupyter notebook)指定IP和端口运行
- 为flex工程指定运行时浏览的页面
- IntelliJ IDEA 15.0.2运行grails工程不能自动重新加载修改后的类的问题
- 修改Grails项目中的默认端口号
- 解决Grails端口号冲突问题
- 在Eclipse中配置Grails工程
- 实习的目的
- CodeForces 400A Inna and Choose Options
- 第十四周项目—阅读并运行程序,解释程序执行得到的结果(3)
- DBA学习笔记 - chapter 4 数据字典和控制文件(1)
- Android__Activity
- grails指定端口运行工程
- hdu 1427 24点暴力dfs
- 网站开发流程
- Windows中命令行收集
- ios UILabel 用法的总结
- idea代码调试debug
- CodeForces 632C
- easyui中combobox设置默认值的方法
- TCP 客户端 服务端详细代码