From 1b1c7ad3b128f08bca4b5f37ff6651301fed3c7a Mon Sep 17 00:00:00 2001 From: Dennis Reimann Date: Thu, 4 Aug 2022 18:09:26 +0200 Subject: [PATCH] Bind app server to 0.0.0.0 to make it accessible on the local network This way it can be accessed with other devices on the local network. It helps test with mobile devices for instance. --- BTCPayServer/Properties/launchSettings.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BTCPayServer/Properties/launchSettings.json b/BTCPayServer/Properties/launchSettings.json index e2a02a858..257a0b014 100644 --- a/BTCPayServer/Properties/launchSettings.json +++ b/BTCPayServer/Properties/launchSettings.json @@ -32,7 +32,7 @@ "BTCPAY_CHEATMODE": "true", "BTCPAY_EXPLORERPOSTGRES": "User ID=postgres;Include Error Detail=true;Host=127.0.0.1;Port=39372;Database=nbxplorer" }, - "applicationUrl": "http://127.0.0.1:14142/" + "applicationUrl": "http://0.0.0.0:14142/" }, "Bitcoin-HTTPS": { "commandName": "Project", @@ -70,7 +70,7 @@ "BTCPAY_CHEATMODE": "true", "BTCPAY_EXPLORERPOSTGRES": "User ID=postgres;Include Error Detail=true;Host=127.0.0.1;Port=39372;Database=nbxplorer" }, - "applicationUrl": "https://localhost:14142/" + "applicationUrl": "https://0.0.0.0:14142/" }, "Altcoins-HTTPS": { "commandName": "Project", @@ -110,7 +110,7 @@ "BTCPAY_CHEATMODE": "true", "BTCPAY_EXPLORERPOSTGRES": "User ID=postgres;Include Error Detail=true;Host=127.0.0.1;Port=39372;Database=nbxplorer" }, - "applicationUrl": "https://localhost:14142/" + "applicationUrl": "https://0.0.0.0:14142/" } } }