T
T
Turkmen Time2021-05-04 15:17:30
JavaScript
Turkmen Time, 2021-05-04 15:17:30

How to get the number of connections per port in Ubuntu?

How can I find out how many devices are connected to a particular port?
We need exactly the devices and not the number of ip on the port

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
dollar, 2018-10-04
@dollar

Why does not it work? Works.
Carefully replaces each character with a pair of square brackets.
True, after the root element (html) is changed, there are no other elements left.

A
AUser0, 2021-05-04
@MrSel

The TCP/IP protocol does not contain device information.
The list of IPs that created the connection can be seen through the console command netstat -nat | grep :25.
Replace " :25 " with your specific port number.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question