Added IP
This commit is contained in:
parent
ab291c6c66
commit
5206738cb9
@ -46,7 +46,7 @@ export class Server
|
||||
|
||||
// Start the server
|
||||
try {
|
||||
await this.http.listen(config.PORT);
|
||||
await this.http.listen(config.PORT, '0.0.0.0');
|
||||
console.log('[✅] Socket.IO running on port', config.PORT);
|
||||
} catch (error: any) {
|
||||
throw new Error(`[❌] Socket.IO failed to start: ${error.message}`);
|
||||
|
Loading…
x
Reference in New Issue
Block a user