Skip to content

Commit a166b05

Browse files
authored
Merge pull request #106071 from ShrutiPPathak/shpathak/update_port_info
[DevSpaces] Update ports info in troubleshooting docs
2 parents 4b9b1e0 + 8dbf8a3 commit a166b05

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

articles/dev-spaces/troubleshooting.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -416,9 +416,8 @@ You may see this error when trying to access your service. For example, when you
416416
To fix this issue:
417417

418418
1. If the container is in the process of being built/deployed, you can wait 2-3 seconds and try accessing the service again.
419-
1. Check your port configuration. The specified port numbers should be **identical** in all of the following assets:
420-
* **Dockerfile:** Specified by the `EXPOSE` instruction.
421-
* **[Helm chart](https://docs.helm.sh):** Specified by the `externalPort` and `internalPort` values for a service (often located in a `values.yml` file),
419+
1. Check your port configuration in following assets:
420+
* **[Helm chart](https://docs.helm.sh):** Specified by the `service.port` and `deployment.containerPort` in values.yaml scaffolded by `azds prep` command.
422421
* Any ports being opened up in application code, for example in Node.js: `var server = app.listen(80, function () {...}`
423422

424423
### The type or namespace name "MyLibrary" couldn't be found

0 commit comments

Comments
 (0)