In this article we'll shortly see how to doping against a host or IP but pointing a specific port.
It can be very useful to see if your container/application is alive, for example.
Using Powershell (windows)
We can use theTest-NetConnection
function passing the port as a parameter, for example:
Test-NetConnection <host-or-ip> -port <target-port>
UsingcURL
WithcURL is untill simplier, just typecurl <host-or-ip>:<target-port>
. Example:
curl 127.0.0.1:1433
Top comments(2)
Subscribe

Vladimir Ignatev•
Whatever I do is making a program.
- Email
- LocationMontenegro
- WorkUnemployed
- Joined
Notice the netcat too:
nc -zv [target-ip] [port]
Not sure if it's available on Windows
For further actions, you may consider blocking this person and/orreporting abuse