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`); }); }