How To Ping Ip With Port?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To ping an IP address with a specific port, you need to use the telnet command. The syntax is:
telnet <IP Address> <Port>
For example, if you wanted to ping the IP address 192.168.1.1 and port 80, you would type:
telnet 192.168.1.1 80
To ping an IP address with a port number, you can use the “nc” (Netcat) command on Linux or MacOS. The syntax is as follows:
nc -z <IP address> <port number>
For example, to ping the IP address 192.168.1.1 on port 80, you would use the command:
nc -z 192.168.1.1 80