We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38785f9 commit 8a3b995Copy full SHA for 8a3b995
ElectronNET.Host/main.js
@@ -99,10 +99,10 @@ function startSocketApiBridge(port) {
99
server.listen(port, 'localhost');
100
server.on('listening', function () {
101
console.log('Electron Socket started on port %s at %s', server.address().port, server.address().address);
102
+ // Now that socket connection is established, we can guarantee port will not be open for portscanner
103
+ startAspCoreBackend(port);
104
});
105
- startAspCoreBackend(port);
-
106
io.on('connection', (socket) => {
107
global['electronsocket'] = socket;
108
global['electronsocket'].setMaxListeners(0);
0 commit comments