V
V
Vitaly Slyusar2016-05-31 16:35:47
Computer networks
Vitaly Slyusar, 2016-05-31 16:35:47

How to ping a host with a port?

Hello! Guys and ladies, please help. I can not find how to ping the server with the port in the console.
I will be very grateful.
And if it’s also with examples of implementing a program in C # for pinging servers, I’ll remember forever.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
O
Oleg Burca, 2016-05-31
@slusarvitaliy

There is a telnet utility for the Windows/Linux console (you may need to install/activate it).
The check is simple: telnet imya.servera port
For example:
telnet mail.ru 80
telnet reg.ru 443
telnet bbc.com 22

S
Spetros, 2016-05-31
@Spetros

how to ping server with port in console

RTFM pings the server address, not the port. At the port, you can check whether it is open or not - this can be done, for example, using the telnet utility.
Examples of implementing a C# program are easy to find on freelance websites.
PS Quite a strange question from a person whose profile says "system administrator".

A
Artem @Jump, 2016-05-31
Tag

No, it's impossible.

E
Eugene, 2016-05-31
@yellowmew

read

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question