Przeglądaj źródła

allow access from 0.0.0.0

ship
Peter Millauer 3 dni temu
rodzic
commit
58b5a1053c
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      src/server/services/express/express.service.ts

+ 1
- 1
src/server/services/express/express.service.ts Wyświetl plik

40
             connectionHandler: (socket) => { this.connectionCount += 1 },
40
             connectionHandler: (socket) => { this.connectionCount += 1 },
41
         })
41
         })
42
         rpcServer.attach(httpServer)
42
         rpcServer.attach(httpServer)
43
-        rpcServer.listen(PORT)
43
+        httpServer.listen(PORT, '0.0.0.0')
44
 
44
 
45
         console.log("Server up on", PORT)
45
         console.log("Server up on", PORT)
46
     };
46
     };

Ładowanie…
Anuluj
Zapisz