Our social:

How to check Port is open or closed using Netcat ?

Hello friends ..!! Welcome to HackHackers ..!!

Hey, in this article i am going to give you some info about basic thing that how to check any  particular port is open or closed remember, this will very useful in hacking or you can say cyber security field . first of all i give some intro of ports and after i will give only one commands that  checks any particular port is open  or closed .

ALSO READ : HOW TO FIND PATH OF ANY  FOLDER OR FILE USING LOCATE AND WHICH IN KALI LINUX ?



Port address are of two types .
1) Static
2) Dynamic.

We all are know that there are mainly 7 layers in networking.
Those are
7) Physical Layer
6) Data-link layer
5) Network layer
4) Transport layer
3 ) Session layer
2) presentation layer
1) Application layer

And this port is used in transport layer so it is used in Transport layer.

Port address's range is between 0-65535
1 ) 0 to 1524
2 ) 1525 to 65535

There is lot to know about port address since this article is all about check port is open or closed we are going to stop it and now , we are going to check  ports.

Now, i want to check that port number 110 which is used for mail service is open or closed in my hostel's wifi. so  this is very simple just run below command in your terminal.

root@kali:~# nc nv 10.0.0.1 110  

IP address is for example only , it will change as per your ISP.



that , means port number 110 is opend in my hostel .

That's it friends . you can give your response through comments ..

ALSO READ : HOW TO UNLOCK ALL WEBSITE THAT ARE BLOCKED IN YOUR COLLEGE ?