Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change port for devserver

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?

like image 480
Jhonghee Avatar asked Dec 18 '12 17:12

Jhonghee


2 Answers

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.

like image 147
MattStep Avatar answered Nov 16 '22 00:11

MattStep


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
like image 45
kasavbere Avatar answered Nov 16 '22 01:11

kasavbere