[英]Access App Engine localhost using IP address in Cloud Endpoint Framework
Previously, I was using this to access App Engine on the IPv4 address in the build.gradle file: 以前,我使用它来访问build.gradle文件中IPv4地址上的App Engine:
appengine {
httpAddress = "0.0.0.0"
httpPort = 8888
...
}
But after upgrading to Cloud Endpoint plugin, this option has removed. 但是升级到Cloud Endpoint插件后,此选项已删除。 Any help would be welcome. 任何帮助都将受到欢迎。
If you're using the new app-gradle-plugin
, you want this: 如果您使用的是新的app-gradle-plugin
,则需要这样:
appengine {
run {
host = "0.0.0.0"
port = 8080
}
}
See new plugin documentation . 请参阅新的插件文档 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.