Fastest way to scan ports with Java
If you need 200ms for each of the 65536 ports (in the worst case, a firewall is blocking everything, thus making you hit your timeout for every single port), the maths is pretty simple: you need 13k seconds, or about 3 hours and a half. You have 2 (non-exclusive) options to make it faster: reduce … Read more