From 90ed6c1e1be0108bd6172c7cd467105f5358254c Mon Sep 17 00:00:00 2001 From: kyy Date: Thu, 9 Apr 2026 14:24:10 +0900 Subject: [PATCH] fix: bind server to 0.0.0.0 to allow external IP access --- server.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server.js b/server.js index 6cbfbd2..5c44636 100644 --- a/server.js +++ b/server.js @@ -156,8 +156,10 @@ async function startServer() { await initJwks(); await initOidc(); - app.listen(PORT, () => { + // 0.0.0.0을 명시하여 외부(IP) 접속 허용 + app.listen(PORT, '0.0.0.0', () => { console.log(`Headless Login Demo Server is running on http://172.16.9.208:${PORT}`); + console.log(`Local Access: http://localhost:${PORT}`); console.log(`JWKS Endpoint: http://172.16.9.208:${PORT}/.well-known/jwks.json`); }); }