diff --git a/modules/network/sw_port_scanner/command.js b/modules/network/sw_port_scanner/command.js index 1992255db..368f2c773 100644 --- a/modules/network/sw_port_scanner/command.js +++ b/modules/network/sw_port_scanner/command.js @@ -115,7 +115,8 @@ fetch('http://' + ipaddress+":"+port, {mode: 'no-cors'}) console.log(Number.isInteger(res.status)) } ).catch(function(ex){ -// If we caught an error this could be one of two things. It's closed (because +// If we caught an error this could be one of two things. It's closed (because there was no service), it's open (because the system does not +// respond with http). Therefore we can split on 500 ms response time on a websocket (>500 ms close, <500ms open but not http) check_socket(ipaddress, port) })