Reputation: 670
I am trying to switch from maven-gae-plugin to appengine-maven-plugin.
So far, I was able to start devserver and everything worked fine. However, I would like know how I could change the port since I have other stuff running at 8080. Has anybody already figured this out?
Upvotes: 8
Views: 4037
Reputation: 8536
If you are using the AppEngine Launcher: you can also change the port by editing the ini file directly:
C:/Users/username/Google/google_appengine_projects.ini
Upvotes: 0
Reputation: 2089
To just run the GAE development server on a different port:
$ dev_appserver.py --port=<unused port> <app name>
(Not an answer to the exact question, but Google pointed me to this when I was searching.)
Upvotes: 1
Reputation: 431
I just pushed a snapshot release that supports this option now. You can configure it like this:
<plugin>
<groupId>com.google.appengine</groupId>
<artifactId>appengine-maven-plugin</artifactId>
<version>1.7.5-SNAPSHOT</version>
<configuration>
<port>8008</port>
</configuration>
</plugin>
Read http://code.google.com/p/appengine-maven-plugin/ for how to get snapshot releases.
Upvotes: 13
Reputation: 6003
If you are using GoogleAppEngineLauncher
, you simply click on the app and change the port there. If you are running through the terminal, use the following tags, of course you should replace 8080
with your actual port number.
--admin_console_server= --port=8080
Upvotes: 2