Move port 5000 to 50003

gh-142
James Montemagno 2022-12-05 13:37:17 -08:00
parent de26f46d96
commit 0f1caa9795
11 changed files with 11 additions and 11 deletions

View File

@ -66,7 +66,7 @@ docker-compose up
docker-compose -f docker-compose.arm64.yml -f docker-compose.override.yml up docker-compose -f docker-compose.arm64.yml -f docker-compose.override.yml up
``` ```
This will deploy and start all services required to run the web, mobile, and desktop apps. The Web API will run on `localhost:5000` and the SignalR Hub for listen together will run on `localhost:5001`. This will deploy and start all services required to run the web, mobile, and desktop apps. The Web API will run on `localhost:5003` and the SignalR Hub for listen together will run on `localhost:5001`.
### Web, Mobile, & Desktop ### Web, Mobile, & Desktop

View File

@ -9,7 +9,7 @@ services:
- ASPNETCORE_URLS=http://+:80 - ASPNETCORE_URLS=http://+:80
- ConnectionStrings__FeedQueue=UseDevelopmentStorage=true;DevelopmentStorageProxyUri=http://azurite - ConnectionStrings__FeedQueue=UseDevelopmentStorage=true;DevelopmentStorageProxyUri=http://azurite
ports: ports:
- "5000:80" - "5003:80"
podcast.db: podcast.db:
environment: environment:

View File

@ -18,6 +18,6 @@ public static class Config
public static string BaseWeb = $"{Base}:5002/"; public static string BaseWeb = $"{Base}:5002/";
public static string Base = DeviceInfo.Platform == DevicePlatform.Android ? "http://10.0.2.2" : "http://localhost"; public static string Base = DeviceInfo.Platform == DevicePlatform.Android ? "http://10.0.2.2" : "http://localhost";
public static string APIUrl = $"{Base}:5000/"; public static string APIUrl = $"{Base}:5003/";
public static string ListenTogetherUrl = $"{Base}:5001/listentogether"; public static string ListenTogetherUrl = $"{Base}:5001/listentogether";
} }

View File

@ -19,7 +19,7 @@ In Config.cs you can find:
```csharp ```csharp
public static string BaseWeb = $"{Base}:5002/listentogether"; public static string BaseWeb = $"{Base}:5002/listentogether";
public static string Base = DeviceInfo.Platform == DevicePlatform.Android ? "http://10.0.2.2" : "http://localhost"; public static string Base = DeviceInfo.Platform == DevicePlatform.Android ? "http://10.0.2.2" : "http://localhost";
public static string APIUrl = $"{Base}:5000/v1/"; public static string APIUrl = $"{Base}:5003/";
public static string ListenTogetherUrl = $"{Base}:5001/listentogether"; public static string ListenTogetherUrl = $"{Base}:5001/listentogether";
``` ```

View File

@ -11,7 +11,7 @@ public static class MauiProgram
{ {
public static string BaseWeb = $"{Base}:5002/listentogether"; public static string BaseWeb = $"{Base}:5002/listentogether";
public static string Base = DeviceInfo.Platform == DevicePlatform.Android ? "http://10.0.2.2" : "http://localhost"; public static string Base = DeviceInfo.Platform == DevicePlatform.Android ? "http://10.0.2.2" : "http://localhost";
public static string APIUrl = $"{Base}:5000/"; public static string APIUrl = $"{Base}:5003/";
public static string ListenTogetherUrl = $"{Base}:5001/listentogether"; public static string ListenTogetherUrl = $"{Base}:5001/listentogether";
public static MauiApp CreateMauiApp() public static MauiApp CreateMauiApp()

View File

@ -1,6 +1,6 @@
{ {
"PodcastApi": { "PodcastApi": {
"BaseAddress": "http://localhost:5000" "BaseAddress": "http://localhost:5003"
}, },
"ListenTogetherHub": "http://localhost:5001/listentogether" "ListenTogetherHub": "http://localhost:5001/listentogether"
} }

View File

@ -7,7 +7,7 @@
} }
}, },
"NetPodcastApi": { "NetPodcastApi": {
"BaseAddress": "http://localhost:5000/" "BaseAddress": "http://localhost:5003/"
}, },
"ConnectionStrings": { "ConnectionStrings": {
"ListenTogetherDb": "Server=localhost, 5433;Database=ListenTogether;User Id=sa;Password=Pass@word;Encrypt=False", "ListenTogetherDb": "Server=localhost, 5433;Database=ListenTogether;User Id=sa;Password=Pass@word;Encrypt=False",

View File

@ -11,7 +11,7 @@
"Podcast.API": { "Podcast.API": {
"commandName": "Project", "commandName": "Project",
"launchBrowser": true, "launchBrowser": true,
"applicationUrl": "https://localhost:5001;http://localhost:5000", "applicationUrl": "https://localhost:5001;http://localhost:5003",
"environmentVariables": { "environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development" "ASPNETCORE_ENVIRONMENT": "Development"
} }

View File

@ -17,7 +17,7 @@
"http://localhost:56906", "http://localhost:56906",
"https://localhost:44385", "https://localhost:44385",
"https://localhost:5001", "https://localhost:5001",
"http://localhost:5000", "http://localhost:5003",
"1ba2c41d-3a54-414a-9700-1f9393cfafca" "1ba2c41d-3a54-414a-9700-1f9393cfafca"
], ],
"ValidIssuer": "dotnet-user-jwts" "ValidIssuer": "dotnet-user-jwts"

View File

@ -1,6 +1,6 @@
{ {
"PodcastApi": { "PodcastApi": {
"BaseAddress": "http://localhost:5000" "BaseAddress": "http://localhost:5003"
}, },
"ListenTogetherHub": "http://localhost:5001/listentogether" "ListenTogetherHub": "http://localhost:5001/listentogether"
} }

View File

@ -7,7 +7,7 @@
}, },
"AllowedHosts": "*", "AllowedHosts": "*",
"PodcastApi": { "PodcastApi": {
"BaseAddress": "http://localhost:5000" "BaseAddress": "http://localhost:5003"
}, },
"ListenTogetherHub": "http://localhost:5001/listentogether" "ListenTogetherHub": "http://localhost:5001/listentogether"
} }