Hy first of all this is Repo which takes ip and port no then go for #Checking whether this particular port or open or closed by given ip address Enjoy