Browse Source

allow access from 0.0.0.0

ship
Peter Millauer 2 months ago
parent
commit
58b5a1053c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/server/services/express/express.service.ts

+ 1
- 1
src/server/services/express/express.service.ts View File

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
     };

Loading…
Cancel
Save