0
zalak created
- ABP Framework version: v5.2.1
- UI type: MVC
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): no
- Exception message and stack trace:
- Steps to reproduce the issue:"
In Bin Folder of Web Project, On Running the [ProjectName]Web.exe file, the application starts. However, the default port it listen would be localhost:5000. How can I customize the port ? I tried making changes in launchSettings.json file but found ineffective. What could be the way for the same ?
3 Answer(s)
-
0
hi
https://andrewlock.net/5-ways-to-set-the-urls-for-an-aspnetcore-app/
-
0
Thank You for the reference. However, I refered this link earlier but the mentioned problem perfectly works in Applications using Asp.net Core MVC but doesn't work in ABP Application.
-
0
> aspnet-core\src\MyCompanyName.MyProjectName.Web\bin\Debug\net6.0\publish> $env:ASPNETCORE_URLS="http://localhost:8001" > aspnet-core\src\MyCompanyName.MyProjectName.Web\bin\Debug\net6.0\publish> dotnet .\MyCompanyName.MyProjectName.Web.dll [09:41:43 INF] Starting web host. [09:41:44 INF] Initialized all ABP modules. [09:41:44 INF] Now listening on: http://localhost:8001 [09:41:44 INF] Application started. Press Ctrl+C to shut down. [09:41:44 INF] Hosting environment: Production