diff --git a/ChangeLog.md b/ChangeLog.md index 51cd48fd2..86841d9cb 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -10,6 +10,10 @@ General: - Fix building failure on Node 22 platform. - Fix * IfMatch for non-existent resource not throwing 412 Precondition Failed +Table: + +- Fix `azurite-table` startup banner reporting the configured port (e.g. `0` when using OS-assigned ports) instead of the actual bound address. Now uses `server.getHttpServerAddress()` to match `azurite-blob` and `azurite-queue`. + ## 2025.07 Version 3.35.0 General: diff --git a/src/table/main.ts b/src/table/main.ts index c399d8ef9..e9a4eb3c8 100644 --- a/src/table/main.ts +++ b/src/table/main.ts @@ -59,15 +59,13 @@ async function main() { // Create server instance const server = new TableServer(config); - const beforeStartMessage = `Azurite Table service is starting on ${config.host}:${config.port}`; - const afterStartMessage = `Azurite Table service successfully started on ${config.host}:${config.port}`; const beforeCloseMessage = `Azurite Table service is closing...`; const afterCloseMessage = `Azurite Table service successfully closed`; // Start Server - console.log(beforeStartMessage); + console.log(`Azurite Table service is starting on ${config.host}:${config.port}`); await server.start(); - console.log(afterStartMessage); + console.log(`Azurite Table service successfully listens on ${server.getHttpServerAddress()}`); AzuriteTelemetryClient.init(location, !env.disableTelemetry(), env); await AzuriteTelemetryClient.TraceStartEvent("Table");