Skip to content
rjrudin edited this page Apr 25, 2019 · 4 revisions

A common question with ml-gradle is - what ports does it use? The answer depends slightly on the kind of application you're deploying, and note that if you're deploying a Data Hub Framework or Service application, the answer is quite different because DHF/S apps add several other ports.

The list below shows the common ports used by ml-gradle. Note that the Property Reference defines all of the connection properties for the various ports, so use this as a high level summary and quick reference.

  1. 8000 is the default port for the App-Services server that ml-gradle uses for loading non-REST modules. This is defined by mlAppServicesPort. This port is used for non-REST modules so that applications without a REST server don't need a REST server just for loading modules.
  2. 8001 is the default port for the Admin server that ml-gradle uses for a handful of Manage API endpoints that are executed against the Admin server. This is defined by mlAdminPort.
  3. 8002 is the default port for the Manage server that ml-gradle uses for deploying all ML resources - i.e. databases, app servers, users, etc. This is defined by mlManagePort.
  4. For loading REST modules - i.e. options, services, transforms - ml-gradle uses the value of mlRestPort, which is expected to define an application-specific REST server.
Clone this wiki locally