-
Notifications
You must be signed in to change notification settings - Fork 80
Port reference
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 table 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.
Port | Property | Description |
---|---|---|
8000 | mlAppServicesPort | This is the default port for the App-Services server that ml-gradle uses for loading non-REST modules. 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. If your application has a REST server, you can change mlAppServicesPort to match the port of your REST server so that you don't have any dependency on App-Services. |
8001 | mlAdminPort | This 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. |
8002 | mlManagePort | This is the default port for the Manage server that ml-gradle uses for deploying all ML resources - i.e. databases, app servers, users, etc. |
Custom | mlRestPort | 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. |