Skip to content

Commit aef04cd

Browse files
committed
edits
1 parent 30a474c commit aef04cd

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

docs/debugger/remote-debugging-aspnet-on-a-remote-iis-computer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ In most setups, required ports are opened by the installation of ASP.NET and the
246246
247247
Required ports:
248248

249-
* 80 - Required for IIS
249+
* 80 - Required for IIS (HTTP)
250250
::: moniker range=">=vs-2019"
251251
* 4024 - Required for remote debugging from Visual Studio 2019 (see [Remote Debugger Port Assignments](../debugger/remote-debugger-port-assignments.md) for more information).
252252
::: moniker-end

docs/deployment/tutorial-import-publish-settings-iis.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,17 @@ A publish settings file (*\*.publishsettings*) is different than a publishing pr
7979

8080
[!INCLUDE [import-publish-settings](../deployment/includes/import-publish-settings-vs.md)]
8181

82-
After the app deploys successfully, it should start automatically. If it does not start from Visual Studio, start the app in IIS. For ASP.NET Core, you need to make sure that the Application pool field for the **DefaultAppPool** is set to **No Managed Code**.
82+
After the app deploys successfully, it should start automatically.
83+
84+
## Troubleshooting
85+
86+
- If you can't connect to the host using the host name, try the IP address instead.
87+
- Make sure the required ports are open on the remote server.
88+
- For ASP.NET Core, you need to make sure that the Application pool field for the **DefaultAppPool** is set to **No Managed Code**.
89+
- Verify that the version of ASP.NET used in your app is the same as the version you installed on the server. For your app, you can view and set the version in the **Properties** page.
90+
- If the app tried to open, but you see a certificate warning, choose to trust the site. If you already closed the warning, you can edit the *.pubxml file in your project and add the following element (for test only): `<AllowUntrustedCertificate>true</AllowUntrustedCertificate>`
91+
- If the app does not start from Visual Studio, start the app in IIS to test that it deployed correctly.
92+
- Check the Output window in Visual Studio for more information.
8393

8494
## Next steps
8595

0 commit comments

Comments
 (0)