Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

Please allow the ability to configure ports for services other that the default service #235

Closed
the-rockkk opened this issue Dec 12, 2017 · 2 comments

Comments

@the-rockkk
Copy link

In a multi-service GAE project, when debugging using the Cloud Tools Plugin for Eclipse, it would be very useful to be able to assign specific ports to the services other than the default service, instead of the server code assigning random ports.

@loosebazooka
Copy link
Contributor

loosebazooka commented Dec 12, 2017

This is not exposed by the standard parameters of the dev appserver, if you would like you can file a bug against the app engine SDK : https://issuetracker.google.com/issues/new?component=187272&template=1010421

@branks
Copy link

branks commented Jan 8, 2018

UPDATE (by @chanseokoh): doesn't work with the current version.


You can do this using JVM flags like so:

jvmFlags = [
"-Dcom.google.appengine.devappserver_module.default.port=8080",
"-Dcom.google.appengine.devappserver_module.XXXXXXX.port=8081",
]

where XXXXX is the name of your other module

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants