Hi Avanish, Have you tried specifying a port (host) explicitly [something like --host localhost:9999]? I see that it should run on :8080 by default though: https://cloud.google.com/sdk/gcloud-app
If that fails, does it work running as administrator? Best, Robert On Wed, Feb 11, 2015 at 2:07 PM, Avanish Raju <[email protected]> wrote: > Hey all, > > (NOTE: Also posted to Stack Overflow here: > http://stackoverflow.com/questions/28441545/appengine-java-multi-modules-sample-error-on-gcloud-preview-app-run > ) > > I'm trying to setup a multi-module Appengine app with one module as > managed VM. > > But for starters, I'm checking if I can run gcloud preview app run on the > AppEngine Java multi-modules sample from here: > https://github.com/GoogleCloudPlatform/appengine-modules-sample-java > > When I import it in Android Studio, and run the appengineRun build rule, > it builds fine. However, if I go to command prompt, and run the following: > > E:\appengine-modules-sample-java-master>gcloud preview app run > appengine-modules-guestbook/src/main/webapp > > Then I get the following error: > > http://localhost:8000 Exception in thread "main" java.lang.RuntimeException: > Unable to create a DevApp Server ERROR: bad runtime process port [''] > at > com.google.appengine.tools.development.devappserver2.DevAppServer2Fac > tory.doCreateDevAppServer(DevAppServer2Factory.java:87) > > ... > > ... 10 more Caused by: java.io.IOException: Access is denied > > What am I doing wrong? > > Thanks! > Avanish > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/google-appengine. > To view this discussion on the web visit > https://groups.google.com/d/msgid/google-appengine/0bf170b1-d7af-474d-9573-7302a23aae59%40googlegroups.com > <https://groups.google.com/d/msgid/google-appengine/0bf170b1-d7af-474d-9573-7302a23aae59%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CAGUNdah0q3gSg4YwB6OeAmt4uGhzX6SDWr1%2BBphN_2LE8N7ThA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
