Skip to content

Commit e9e6167

Browse files
Merge pull request #262621 from v-jaswel/aca/v-jaswel_20231219
[ACA] Change target port 3500 -> 8080 to avoid Dapr conflict.
2 parents c7b90fd + 89d8fe6 commit e9e6167

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

articles/container-apps/tutorial-code-to-cloud.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -332,15 +332,15 @@ az containerapp create \
332332
--resource-group $RESOURCE_GROUP \
333333
--environment $ENVIRONMENT \
334334
--image $ACR_NAME.azurecr.io/$API_NAME \
335-
--target-port 3500 \
335+
--target-port 8080 \
336336
--ingress 'external' \
337337
--registry-server $ACR_NAME.azurecr.io \
338338
--query properties.configuration.ingress.fqdn
339339
```
340340

341341
* By setting `--ingress` to `external`, your container app is accessible from the public internet.
342342

343-
* The `target-port` is set to `3500` to match the port that the container is listening to for requests.
343+
* The `target-port` is set to `8080` to match the port that the container is listening to for requests.
344344

345345
* Without a `query` property, the call to `az containerapp create` returns a JSON response that includes a rich set of details about the application. Adding a query parameter filters the output to just the app's fully qualified domain name (FQDN).
346346

@@ -394,7 +394,7 @@ $AppArgs = @{
394394
TemplateContainer = $TemplateObj
395395
ConfigurationRegistry = $RegistryObj
396396
ConfigurationSecret = $SecretObj
397-
IngressTargetPort = 3500
397+
IngressTargetPort = 8080
398398
IngressExternal = $true
399399
}
400400
$MyApp = New-AzContainerApp @AppArgs
@@ -404,7 +404,7 @@ $MyApp.IngressFqdn
404404
```
405405

406406
* By setting `IngressExternal` to `external`, your container app is accessible from the public internet.
407-
* The `IngressTargetPort` parameter is set to `3500` to match the port that the container is listening to for requests.
407+
* The `IngressTargetPort` parameter is set to `8080` to match the port that the container is listening to for requests.
408408

409409
---
410410

articles/container-apps/tutorial-scaling.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ az containerapp up \
121121
--location centralus \
122122
--environment 'my-container-apps' \
123123
--image mcr.microsoft.com/k8se/quickstart:latest \
124-
--target-port 80 \
124+
--target-port 8080 \
125125
--ingress external \
126126
--query properties.configuration.ingress.fqdn \
127127
```
@@ -135,8 +135,8 @@ az containerapp up `
135135
--location centralus `
136136
--environment my-container-apps `
137137
--image mcr.microsoft.com/k8se/quickstart:latest `
138-
--target-port 80 `
139-
--ingress external `
138+
--target-port 8080 `
139+
--ingress external `
140140
--query properties.configuration.ingress.fqdn `
141141
```
142142

@@ -228,7 +228,7 @@ The `show` command returns entries from the system logs for your container app i
228228
}
229229
{
230230
"TimeStamp":"2023-08-01T16:47:31.9481264+00:00",
231-
"Log":"Now listening on: http://[::]:3500"
231+
"Log":"Now listening on: http://[::]:8080"
232232
}
233233
{
234234
"TimeStamp":"2023-08-01T16:47:31.9490917+00:00",

0 commit comments

Comments
 (0)