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
```
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

View File

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

View File

@ -18,6 +18,6 @@ public static class Config
public static string BaseWeb = $"{Base}:5002/";
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";
}

View File

@ -19,7 +19,7 @@ In Config.cs you can find:
```csharp
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 APIUrl = $"{Base}:5000/v1/";
public static string APIUrl = $"{Base}:5003/";
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 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 MauiApp CreateMauiApp()

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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