Update Socket.IO deployment documentation and backend server configuration

This commit revises the deployment documentation for Socket.IO, emphasizing the need to restart the backend server for HTTPS support on port 3051. It introduces a new diagnostic script to check SSL certificate existence, server accessibility, and port status. Additionally, the backend server configuration is updated to ensure it listens on all interfaces (0.0.0.0), enhancing accessibility. These changes improve clarity and troubleshooting guidance for deploying Socket.IO over HTTPS.
This commit is contained in:
Torsten Schulz (local)
2025-11-16 09:35:57 +01:00
parent 5ddf998672
commit 004a94404a
3 changed files with 148 additions and 12 deletions

View File

@@ -283,7 +283,7 @@ app.get('*', (req, res) => {
// Initialisiere Socket.IO auf HTTPS-Server
initializeSocketIO(httpsServer);
httpsServer.listen(httpsPort, () => {
httpsServer.listen(httpsPort, '0.0.0.0', () => {
console.log(`🚀 HTTPS-Server für Socket.IO läuft auf Port ${httpsPort}`);
});
} catch (err) {