Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

port-scanning

Fastest way to scan ports with Java

September 17, 2023 by Tarik

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

Categories java Tags ip, java, port-scanning, sockets Leave a comment

How to check Network port access and display useful message?

August 10, 2023 by Tarik

If you’re running Windows 8/Windows Server 2012 or newer, you can use the Test-NetConnection command in PowerShell. Ex: Test-NetConnection -Port 53 -ComputerName LON-DC1

Categories powershell Tags port, port-scanning, powershell, powershell-2.0 Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa