diff --git a/aspnet-core/modules/cli/LINGYUN.Abp.Cli/LINGYUN/Abp/Cli/Commands/LocalFileCreateProjectService.cs b/aspnet-core/modules/cli/LINGYUN.Abp.Cli/LINGYUN/Abp/Cli/Commands/LocalFileCreateProjectService.cs index fcb2f5cba..e3ee50bfe 100644 --- a/aspnet-core/modules/cli/LINGYUN.Abp.Cli/LINGYUN/Abp/Cli/Commands/LocalFileCreateProjectService.cs +++ b/aspnet-core/modules/cli/LINGYUN.Abp.Cli/LINGYUN/Abp/Cli/Commands/LocalFileCreateProjectService.cs @@ -171,8 +171,8 @@ namespace LINGYUN.Abp.Cli.Commands var launchFile = projectFiles.FirstOrDefault(f => f.Name.EndsWith("launchSettings.json")); if (launchFile != null) { - string applicationUrl = $"http://localhost:{port}"; - await ReplaceFileTextAsync(launchFile, "http://localhost:5000", applicationUrl); + string applicationUrl = $"http://127.0.0.1:{port}"; + await ReplaceFileTextAsync(launchFile, "http://127.0.0.1:5000", applicationUrl); } var daprScriptFile = projectFiles.FirstOrDefault(f => f.Name.EndsWith("dapr.sh")); diff --git a/aspnet-core/modules/tenants/LINGYUN.Abp.MultiTenancy.RemoteService/README.md b/aspnet-core/modules/tenants/LINGYUN.Abp.MultiTenancy.RemoteService/README.md index fece099e4..99cf4e0e6 100644 --- a/aspnet-core/modules/tenants/LINGYUN.Abp.MultiTenancy.RemoteService/README.md +++ b/aspnet-core/modules/tenants/LINGYUN.Abp.MultiTenancy.RemoteService/README.md @@ -31,13 +31,13 @@ Install-Package Volo.Abp.Http.Client.IdentityModel { "RemoteServices": { "AbpTenantManagement": { - "BaseUrl": "http://localhost:30000/", + "BaseUrl": "http://127.0.0.1:30000/", "IdentityClient": "InternalServiceClient" } }, "IdentityClients": { "InternalServiceClient": { - "Authority": "http://localhost:44385", + "Authority": "http://127.0.0.1:44385", "RequireHttps": false, "GrantType": "client_credentials", "ClientId": "tenant-finder-client", diff --git a/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/appsettings.Development.json b/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/appsettings.Development.json index 6d00e60b4..efd24f264 100644 --- a/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/appsettings.Development.json +++ b/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/appsettings.Development.json @@ -3,7 +3,7 @@ "env": "DEV", "appId": "LINGYUN.Abp.Backend.Admin", "secret": "1q2w3E*", - "nodes": "http://localhost:5000", + "nodes": "http://127.0.0.1:5000", "name": "BackendAdmin", "tag": "BackendAdmin" }, @@ -12,20 +12,20 @@ "Forwarded": { "ForwardedHeaders": 5, "KnownProxies": [ - "localhost" + "127.0.0.1" ] }, - "CorsOrigins": "http://localhost:3100" + "CorsOrigins": "http://127.0.0.1:3100" }, "ConnectionStrings": { - "Default": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpIdentity": "Server=localhost;Database=IdentityServer;User Id=root;Password=123456", - "AbpIdentityServer": "Server=localhost;Database=IdentityServer;User Id=root;Password=123456", - "AbpSaas": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpSettingManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpFeatureManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpPermissionManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpLocalizationManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456" + "Default": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456", + "AbpIdentity": "Server=127.0.0.1;Database=IdentityServer;User Id=root;Password=123456", + "AbpIdentityServer": "Server=127.0.0.1;Database=IdentityServer;User Id=root;Password=123456", + "AbpSaas": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456", + "AbpSettingManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456", + "AbpFeatureManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456", + "AbpPermissionManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456", + "AbpLocalizationManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456" }, "CAP": { "EventBus": { @@ -37,10 +37,10 @@ }, "MySql": { "TableNamePrefix": "admin", - "ConnectionString": "Server=localhost;Database=Platform;User Id=root;Password=123456" + "ConnectionString": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456" }, "RabbitMQ": { - "HostName": "localhost", + "HostName": "127.0.0.1", "Port": 5672, "UserName": "guest", "Password": "guest", @@ -49,11 +49,11 @@ } }, "Redis": { - "Configuration": "localhost,defaultDatabase=10", + "Configuration": "127.0.0.1,defaultDatabase=10", "InstanceName": "LINGYUN.Abp.Application" }, "AuthServer": { - "Authority": "http://localhost:44385/", + "Authority": "http://127.0.0.1:44385/", "ApiName": "lingyun-abp-application" }, "Logging": { @@ -69,7 +69,7 @@ } }, "Elasticsearch": { - "NodeUris": "http://localhost:9200" + "NodeUris": "http://127.0.0.1:9200" }, "Serilog": { "MinimumLevel": { @@ -91,7 +91,7 @@ { "Name": "Elasticsearch", "Args": { - "nodeUris": "http://localhost:9200", + "nodeUris": "http://127.0.0.1:9200", "indexFormat": "abp.dev.logging-{0:yyyy.MM.dd}", "autoRegisterTemplate": true, "autoRegisterTemplateVersion": "ESv7" diff --git a/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/appsettings.Development.json b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/appsettings.Development.json index 36225362f..62bbc5403 100644 --- a/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/appsettings.Development.json +++ b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/appsettings.Development.json @@ -3,20 +3,20 @@ "env": "DEV", "appId": "LINGYUN.Abp.Localization", "secret": "1q2w3E*", - "nodes": "http://localhost:5000", + "nodes": "http://127.0.0.1:5000", "name": "Localization", "tag": "Localization" }, "App": { "TrackingEntitiesChanged": true, - "CorsOrigins": "http://localhost:3100" + "CorsOrigins": "http://127.0.0.1:3100" }, "ConnectionStrings": { - "Default": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpSaas": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpSettingManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpPermissionManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpLocalizationManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456" + "Default": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456", + "AbpSaas": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456", + "AbpSettingManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456", + "AbpPermissionManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456", + "AbpLocalizationManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456" }, "CAP": { "EventBus": { @@ -28,10 +28,10 @@ }, "MySql": { "TableNamePrefix": "lta", - "ConnectionString": "Server=localhost;Database=Platform;User Id=root;Password=123456" + "ConnectionString": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456" }, "RabbitMQ": { - "HostName": "localhost", + "HostName": "127.0.0.1", "Port": 5672, "UserName": "guest", "Password": "guest", @@ -40,11 +40,11 @@ } }, "Redis": { - "Configuration": "localhost,defaultDatabase=10", + "Configuration": "127.0.0.1,defaultDatabase=10", "InstanceName": "LINGYUN.Abp.Application" }, "AuthServer": { - "Authority": "http://localhost:44385/", + "Authority": "http://127.0.0.1:44385/", "ApiName": "lingyun-abp-application" }, "AuditLogging": { @@ -53,7 +53,7 @@ } }, "Elasticsearch": { - "NodeUris": "http://localhost:9200" + "NodeUris": "http://127.0.0.1:9200" }, "Serilog": { "MinimumLevel": { @@ -75,7 +75,7 @@ { "Name": "Elasticsearch", "Args": { - "nodeUris": "http://localhost:9200", + "nodeUris": "http://127.0.0.1:9200", "indexFormat": "abp.dev.logging-{0:yyyy.MM.dd}", "autoRegisterTemplate": true, "autoRegisterTemplateVersion": "ESv7" diff --git a/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/appsettings.Development.json b/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/appsettings.Development.json index 1aa021de3..aeef1aa34 100644 --- a/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/appsettings.Development.json +++ b/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/appsettings.Development.json @@ -3,7 +3,7 @@ "env": "DEV", "appId": "LINGYUN.Abp.Platform", "secret": "1q2w3E*", - "nodes": "http://localhost:5000", + "nodes": "http://127.0.0.1:5000", "name": "Platform", "tag": "Platform" }, @@ -11,20 +11,20 @@ "Forwarded": { "ForwardedHeaders": 5, "KnownProxies": [ - "localhost" + "127.0.0.1" ] }, - "CorsOrigins": "http://localhost:3100" + "CorsOrigins": "http://127.0.0.1:3100" }, "RemoteServices": { "AbpIdentity": { - "BaseUrl": "http://localhost:30015/", + "BaseUrl": "http://127.0.0.1:30015/", "IdentityClient": "InternalServiceClient" } }, "IdentityClients": { "InternalServiceClient": { - "Authority": "http://localhost:44385/", + "Authority": "http://127.0.0.1:44385/", "RequireHttps": false, "GrantType": "client_credentials", "Scope": "lingyun-abp-application", @@ -33,18 +33,18 @@ } }, "ConnectionStrings": { - "Default": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AppPlatform": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpFeatureManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpSaas": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpSettingManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpPermissionManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpLocalizationManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456" + "Default": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456", + "AppPlatform": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456", + "AbpFeatureManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456", + "AbpSaas": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456", + "AbpSettingManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456", + "AbpPermissionManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456", + "AbpLocalizationManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456" }, "Features": { "Validation": { "Redis": { - "Configuration": "localhost,defaultDatabase=8", + "Configuration": "127.0.0.1,defaultDatabase=8", "InstanceName": "LINGYUN.Abp.Application" } } @@ -59,10 +59,10 @@ }, "MySql": { "TableNamePrefix": "plt", - "ConnectionString": "Server=localhost;Database=Platform;User Id=root;Password=123456" + "ConnectionString": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456" }, "RabbitMQ": { - "HostName": "localhost", + "HostName": "127.0.0.1", "Port": 5672, "UserName": "guest", "Password": "guest", @@ -71,11 +71,11 @@ } }, "Redis": { - "Configuration": "localhost,defaultDatabase=10", + "Configuration": "127.0.0.1,defaultDatabase=10", "InstanceName": "LINGYUN.Abp.Application" }, "AuthServer": { - "Authority": "http://localhost:44385/", + "Authority": "http://127.0.0.1:44385/", "ApiName": "lingyun-abp-application" }, "AuditLogging": { @@ -84,7 +84,7 @@ } }, "Elasticsearch": { - "NodeUris": "http://localhost:9200" + "NodeUris": "http://127.0.0.1:9200" }, "Serilog": { "MinimumLevel": { @@ -106,7 +106,7 @@ { "Name": "Elasticsearch", "Args": { - "nodeUris": "http://localhost:9200", + "nodeUris": "http://127.0.0.1:9200", "indexFormat": "abp.dev.logging-{0:yyyy.MM.dd}", "autoRegisterTemplate": true, "autoRegisterTemplateVersion": "ESv7" diff --git a/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/appsettings.Development.json b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/appsettings.Development.json index 810dc5822..9a0f09f66 100644 --- a/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/appsettings.Development.json +++ b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/appsettings.Development.json @@ -3,16 +3,16 @@ "env": "DEV", "appId": "LINGYUN.Abp.Message", "secret": "1q2w3E*", - "nodes": "http://localhost:5000", + "nodes": "http://127.0.0.1:5000", "name": "Message", "tag": "Message" }, "App": { - "CorsOrigins": "http://localhost:3100", + "CorsOrigins": "http://127.0.0.1:3100", "Forwarded": { "ForwardedHeaders": 5, "KnownProxies": [ - "localhost" + "127.0.0.1" ] } }, @@ -23,29 +23,29 @@ } }, "ConnectionStrings": { - "Default": "Server=localhost;Database=Messages;User Id=root;Password=123456", - "MessageService": "Server=localhost;Database=Messages;User Id=root;Password=123456", - "AbpIdentity": "Server=localhost;Database=IdentityServer;User Id=root;Password=123456", - "AbpSaas": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpSettingManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpPermissionManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpLocalizationManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456" + "Default": "Server=127.0.0.1;Database=Messages;User Id=root;Password=123456", + "MessageService": "Server=127.0.0.1;Database=Messages;User Id=root;Password=123456", + "AbpIdentity": "Server=127.0.0.1;Database=IdentityServer;User Id=root;Password=123456", + "AbpSaas": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456", + "AbpSettingManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456", + "AbpPermissionManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456", + "AbpLocalizationManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456" }, "Redis": { - "Configuration": "localhost,defaultDatabase=8", + "Configuration": "127.0.0.1,defaultDatabase=8", "InstanceName": "LINGYUN.Abp.Application" }, "AuthServer": { - "Authority": "http://localhost:44385/", + "Authority": "http://127.0.0.1:44385/", "ApiName": "lingyun-abp-application" }, "Hangfire": { "MySql": { - "Connection": "Server=localhost;Database=Messages;User Id=root;Password=123456;Allow User Variables=true", + "Connection": "Server=127.0.0.1;Database=Messages;User Id=root;Password=123456;Allow User Variables=true", "TablePrefix": "AppHangfire" }, "Dashboard": { - "WhiteList": "http://localhost:30000" + "WhiteList": "http://127.0.0.1:30000" } }, "Notifications": { @@ -65,10 +65,10 @@ }, "MySql": { "TableNamePrefix": "msg", - "ConnectionString": "Server=localhost;Database=Messages;User Id=root;Password=123456" + "ConnectionString": "Server=127.0.0.1;Database=Messages;User Id=root;Password=123456" }, "RabbitMQ": { - "HostName": "localhost", + "HostName": "127.0.0.1", "Port": 5672, "UserName": "guest", "Password": "guest", @@ -82,7 +82,7 @@ } }, "Elasticsearch": { - "NodeUris": "http://localhost:9200" + "NodeUris": "http://127.0.0.1:9200" }, "Serilog": { "MinimumLevel": { @@ -108,7 +108,7 @@ { "Name": "Elasticsearch", "Args": { - "nodeUris": "http://localhost:9200", + "nodeUris": "http://127.0.0.1:9200", "indexFormat": "abp.dev.logging-{0:yyyy.MM.dd}", "autoRegisterTemplate": true, "autoRegisterTemplateVersion": "ESv7" diff --git a/aspnet-core/services/LY.MicroService.TaskManagement.HttpApi.Host/Properties/launchSettings.json b/aspnet-core/services/LY.MicroService.TaskManagement.HttpApi.Host/Properties/launchSettings.json index 2dc52da30..38de94ebd 100644 --- a/aspnet-core/services/LY.MicroService.TaskManagement.HttpApi.Host/Properties/launchSettings.json +++ b/aspnet-core/services/LY.MicroService.TaskManagement.HttpApi.Host/Properties/launchSettings.json @@ -12,7 +12,7 @@ "commandName": "Project", "dotnetRunMessages": true, "launchBrowser": false, - "applicationUrl": "http://0.0.0.0:30040", + "applicationUrl": "http://127.0.0.1:30040", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } diff --git a/aspnet-core/services/LY.MicroService.TaskManagement.HttpApi.Host/appsettings.Development.json b/aspnet-core/services/LY.MicroService.TaskManagement.HttpApi.Host/appsettings.Development.json index 4d2c8f6a0..00c2689ab 100644 --- a/aspnet-core/services/LY.MicroService.TaskManagement.HttpApi.Host/appsettings.Development.json +++ b/aspnet-core/services/LY.MicroService.TaskManagement.HttpApi.Host/appsettings.Development.json @@ -20,10 +20,10 @@ }, "MySql": { "TableNamePrefix": "tsk", - "ConnectionString": "Server=localhost;Database=Platform;User Id=root;Password=123456" + "ConnectionString": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456" }, "RabbitMQ": { - "HostName": "localhost", + "HostName": "127.0.0.1", "Port": 5672, "UserName": "guest", "Password": "guest", diff --git a/aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/appsettings.Development.json b/aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/appsettings.Development.json index bc41e97a9..ba7d981d2 100644 --- a/aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/appsettings.Development.json +++ b/aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/appsettings.Development.json @@ -3,24 +3,24 @@ "env": "DEV", "appId": "LINGYUN.Abp.IdentityServer.Admin", "secret": "1q2w3E*", - "nodes": "http://localhost:5000", + "nodes": "http://127.0.0.1:5000", "name": "IdentityServer.Admin", "tag": "IdentityServer.Admin" }, "App": { "TrackingEntitiesChanged": true, - "SelfUrl": "http://localhost:30015/", - "CorsOrigins": "http://localhost:3100" + "SelfUrl": "http://127.0.0.1:30015/", + "CorsOrigins": "http://127.0.0.1:3100" }, "ConnectionStrings": { - "Default": "Server=localhost;Database=IdentityServer;User Id=root;Password=123456", - "AbpIdentity": "Server=localhost;Database=IdentityServer;User Id=root;Password=123456", - "AbpIdentityServer": "Server=localhost;Database=IdentityServer;User Id=root;Password=123456", - "AbpSaas": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpSettingManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpFeatureManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpPermissionManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpLocalizationManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456" + "Default": "Server=127.0.0.1;Database=IdentityServer;User Id=root;Password=123456", + "AbpIdentity": "Server=127.0.0.1;Database=IdentityServer;User Id=root;Password=123456", + "AbpIdentityServer": "Server=127.0.0.1;Database=IdentityServer;User Id=root;Password=123456", + "AbpSaas": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456", + "AbpSettingManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456", + "AbpFeatureManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456", + "AbpPermissionManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456", + "AbpLocalizationManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456" }, "CAP": { "EventBus": { @@ -32,10 +32,10 @@ }, "MySql": { "TableNamePrefix": "ida", - "ConnectionString": "Server=localhost;Database=IdentityServer;User Id=root;Password=123456" + "ConnectionString": "Server=127.0.0.1;Database=IdentityServer;User Id=root;Password=123456" }, "RabbitMQ": { - "HostName": "localhost", + "HostName": "127.0.0.1", "Port": 5672, "UserName": "guest", "Password": "guest", @@ -44,11 +44,11 @@ } }, "Redis": { - "Configuration": "localhost,defaultDatabase=10", + "Configuration": "127.0.0.1,defaultDatabase=10", "InstanceName": "LINGYUN.Abp.Application" }, "AuthServer": { - "Authority": "http://localhost:44385/", + "Authority": "http://127.0.0.1:44385/", "ApiName": "lingyun-abp-application" }, "AuditLogging": { @@ -57,7 +57,7 @@ } }, "Elasticsearch": { - "NodeUris": "http://localhost:9200" + "NodeUris": "http://127.0.0.1:9200" }, "Serilog": { "MinimumLevel": { @@ -79,7 +79,7 @@ { "Name": "Elasticsearch", "Args": { - "nodeUris": "http://localhost:9200", + "nodeUris": "http://127.0.0.1:9200", "indexFormat": "abp.dev.logging-{0:yyyy.MM.dd}", "autoRegisterTemplate": true, "autoRegisterTemplateVersion": "ESv7" diff --git a/aspnet-core/services/LY.MicroService.identityServer/appsettings.Development.json b/aspnet-core/services/LY.MicroService.identityServer/appsettings.Development.json index 795854ace..4cad7396c 100644 --- a/aspnet-core/services/LY.MicroService.identityServer/appsettings.Development.json +++ b/aspnet-core/services/LY.MicroService.identityServer/appsettings.Development.json @@ -3,24 +3,24 @@ "env": "DEV", "appId": "LINGYUN.Abp.AuthServer", "secret": "1q2w3E*", - "nodes": "http://localhost:5000", + "nodes": "http://127.0.0.1:5000", "name": "AuthServer", "tag": "AuthServer" }, "App": { "TrackingEntitiesChanged": true, - "SelfUrl": "http://localhost:44385/", - "CorsOrigins": "http://localhost:3100" + "SelfUrl": "http://127.0.0.1:44385/", + "CorsOrigins": "http://127.0.0.1:3100" }, - "AppSelfUrl": "http://localhost:44385/", + "AppSelfUrl": "http://127.0.0.1:44385/", "ConnectionStrings": { - "Default": "Server=localhost;Database=IdentityServer;User Id=root;Password=123456", - "AbpIdentity": "Server=localhost;Database=IdentityServer;User Id=root;Password=123456", - "AbpIdentityServer": "Server=localhost;Database=IdentityServer;User Id=root;Password=123456", - "AbpSaas": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpSettingManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpPermissionManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpFeatureManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456" + "Default": "Server=127.0.0.1;Database=IdentityServer;User Id=root;Password=123456", + "AbpIdentity": "Server=127.0.0.1;Database=IdentityServer;User Id=root;Password=123456", + "AbpIdentityServer": "Server=127.0.0.1;Database=IdentityServer;User Id=root;Password=123456", + "AbpSaas": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456", + "AbpSettingManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456", + "AbpPermissionManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456", + "AbpFeatureManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456" }, "CAP": { "EventBus": { @@ -32,10 +32,10 @@ }, "MySql": { "TableNamePrefix": "auth", - "ConnectionString": "Server=localhost;Database=IdentityServer;User Id=root;Password=123456" + "ConnectionString": "Server=127.0.0.1;Database=IdentityServer;User Id=root;Password=123456" }, "RabbitMQ": { - "HostName": "localhost", + "HostName": "127.0.0.1", "Port": 5672, "UserName": "guest", "Password": "guest", @@ -44,18 +44,18 @@ } }, "Redis": { - "Configuration": "localhost,defaultDatabase=10", + "Configuration": "127.0.0.1,defaultDatabase=10", "InstanceName": "LINGYUN.Abp.Application" }, "AuthServer": { - "Authority": "http://localhost:44385/", + "Authority": "http://127.0.0.1:44385/", "ApiName": "lingyun-abp-application" }, "IdentityServer": { "Clients": { "AuthManagement": { "ClientId": "auth-management", - "RootUrl": "http://localhost:44313/" + "RootUrl": "http://127.0.0.1:44313/" }, "AuthVueAdmin": { "ClientId": "vue-admin-element" @@ -64,7 +64,7 @@ "ClientId": "ApigatewayHostClient" }, "InternalService": { - "ClientId": "internal-service-client" + "ClientId": "InternalServiceClient" } } }, @@ -93,7 +93,7 @@ } }, "Elasticsearch": { - "NodeUris": "http://localhost:9200" + "NodeUris": "http://127.0.0.1:9200" }, "Serilog": { "MinimumLevel": { @@ -115,7 +115,7 @@ { "Name": "Elasticsearch", "Args": { - "nodeUris": "http://localhost:9200", + "nodeUris": "http://127.0.0.1:9200", "indexFormat": "abp.dev.logging-{0:yyyy.MM.dd}", "autoRegisterTemplate": true, "autoRegisterTemplateVersion": "ESv7" diff --git a/docker-compose.agile.config.yml b/docker-compose.agile.config.yml index da3827a9f..9a3526d7d 100644 --- a/docker-compose.agile.config.yml +++ b/docker-compose.agile.config.yml @@ -6,7 +6,7 @@ services: environment: - adminConsole=true - db:provider=mysql - - db:conn=Server=localhost;Database=agile;User Id=root;Password=123456;Character Set=utf8mb4 + - db:conn=Server=127.0.0.1;Database=agile;User Id=root;Password=123456;Character Set=utf8mb4 ports: - "5000:5000" volumes: diff --git a/gateways/internal/LINGYUN.MicroService.Internal.ApiGateway/src/LINGYUN.MicroService.Internal.ApiGateway/appsettings.Development.json b/gateways/internal/LINGYUN.MicroService.Internal.ApiGateway/src/LINGYUN.MicroService.Internal.ApiGateway/appsettings.Development.json index 881e00207..27ff41a01 100644 --- a/gateways/internal/LINGYUN.MicroService.Internal.ApiGateway/src/LINGYUN.MicroService.Internal.ApiGateway/appsettings.Development.json +++ b/gateways/internal/LINGYUN.MicroService.Internal.ApiGateway/src/LINGYUN.MicroService.Internal.ApiGateway/appsettings.Development.json @@ -8,7 +8,7 @@ "tag": "ApiGateway" }, "App": { - "CorsOrigins": "http://localhost:3100" + "CorsOrigins": "http://127.0.0.1:3100" }, "ApiGateway": { "AppId": "TEST-APP", @@ -40,7 +40,7 @@ ] }, "Redis": { - "Configuration": "localhost,defaultDatabase=10", + "Configuration": "127.0.0.1,defaultDatabase=10", "InstanceName": "LINGYUN.Abp.Application" }, "AuthServer": {