fix: bind server to 0.0.0.0 to allow external IP access
This commit is contained in:
@@ -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`);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user