listen localhost with kestrel
MODIFY
HiddenWallet.ChaumianTumbler/Program.cs
HiddenWallet.ChaumianTumbler/Program.cs
@@ -29,10 +29,13 @@ namespace HiddenWallet.ChaumianTumbler
{
await Global.InitializeAsync();
- var endPoint = "http://localhost:80/";
using (var host = WebHost.CreateDefaultBuilder(args)
.UseStartup<Startup>()
- .UseUrls(endPoint)
+ .UseKestrel(options =>
+ {
+ // listen to requests from outside the local machine
+ options.Listen(IPAddress.Any, 80);
+ })
.Build())
{
await host.RunAsync();

MODIFY
HiddenWallet.ChaumianTumbler/Startup.cs
HiddenWallet.ChaumianTumbler/Startup.cs
@@ -43,11 +43,6 @@ namespace HiddenWallet.ChaumianTumbler
app.UseDeveloperExceptionPage();
}
- app.UseForwardedHeaders(new ForwardedHeadersOptions
- {
- ForwardedHeaders = ForwardedHeaders.XForwardedFor | ForwardedHeaders.XForwardedProto
- });
-
app.UseSignalR(routes =>
{
routes.MapHub<TumblerHub>("chaumianTumbler");

listen localhost with kestrel