1
0
forked from noxious/server
This commit is contained in:
Dennis Postma 2024-06-05 00:47:45 +02:00
parent ab291c6c66
commit 5206738cb9

View File

@ -46,7 +46,7 @@ export class Server
// Start the server // Start the server
try { 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); console.log('[✅] Socket.IO running on port', config.PORT);
} catch (error: any) { } catch (error: any) {
throw new Error(`[❌] Socket.IO failed to start: ${error.message}`); throw new Error(`[❌] Socket.IO failed to start: ${error.message}`);