Skip to content

Commit

Permalink
Updates default management port (#1907)
Browse files Browse the repository at this point in the history
  • Loading branch information
zachgk authored May 15, 2024
1 parent b10eb91 commit 8a0499a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ private void getInferenceAddress(ChannelHandlerContext ctx, HttpMethod method) {
String inferenceAddress =
configManager.getProperty("inference_address", "http://127.0.0.1:8080");
String managementAddress =
configManager.getProperty("management_address", "http://127.0.0.1:8080");
configManager.getProperty("management_address", "http://127.0.0.1:8081");
String origin = configManager.getProperty("cors_allowed_origin", "");
String methods = configManager.getProperty("cors_allowed_methods", "");
String headers = configManager.getProperty("cors_allowed_headers", "");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public static ConfigManager getInstance() {
public Connector getConnector(Connector.ConnectorType type) {
String binding;
if (type == Connector.ConnectorType.MANAGEMENT) {
binding = prop.getProperty(MANAGEMENT_ADDRESS, "http://127.0.0.1:8080");
binding = prop.getProperty(MANAGEMENT_ADDRESS, "http://127.0.0.1:8081");
} else {
binding = prop.getProperty(INFERENCE_ADDRESS, "http://127.0.0.1:8080");
}
Expand Down

0 comments on commit 8a0499a

Please sign in to comment.