From: charleswrayjr Date: Tue, 9 Sep 2025 20:28:59 +0000 (-0500) Subject: Removing debug logging from getStatus method on vpn.controller.js. X-Git-Url: https://git.phasecustomsoft.com/?a=commitdiff_plain;h=6dc1f6cd67b191a1c88ccbea8ac871c41e582c33;p=phs-api.git Removing debug logging from getStatus method on vpn.controller.js. --- diff --git a/src/controllers/vpn.controller.js b/src/controllers/vpn.controller.js index a4e4d36..ea62433 100644 --- a/src/controllers/vpn.controller.js +++ b/src/controllers/vpn.controller.js @@ -268,7 +268,7 @@ module.exports = { // Disconnect client via management interface const client = new net.Socket(); - client.connect(7505, 'host.docker.internal', () => { + client.connect(7505, 'localhost', () => { logger.warn('Connected to OpenVPN management interface'); client.write(`client-kill ${clientName}\n`); });