Show network status.
It displays the status of network connections on either TCP,UDP,RAW or SOCKET to the system.
Netstat provides statistics for the following:
1.Proto – The name of the protocol
2.Local Address – the IP address of the local computer and the port number being .
3.Foreign Address – the IP address and the port number of the remote computer to which socket is connected.
4. State – Indicate the state of a connection.
Examples:
1. netstat
Displays generic net statistics of the host you are currently connected to.
2. netstat -an
Shows all connections to the server including the source and destination ips and ports if you have proper permissions.
Leave A Comment
You must be logged in to post a comment.