简体   繁体   中英

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:

appengine {
    httpAddress = "0.0.0.0"
    httpPort = 8888
...
}

But after upgrading to Cloud Endpoint plugin, this option has removed. Any help would be welcome.

If you're using the new app-gradle-plugin , you want this:

appengine {
  run {
    host = "0.0.0.0"
    port = 8080
  }
}

See new plugin documentation .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM