Use netstat command to check what servers are listening for connection on machine.
Determining which Servers are listening
A second important application of the netstat command is to determine what
servers are listening for connections on your machine. Of particular interest are TCP and
UDP servers. You obtain this information using the -a option to netstat:
On Solaris, to view a report on active UDP connections, use netstat -P udp.
This output is similar to the TCP output, except that:
The port numbers refer to UDP ports.
It refers to the first interface on the local machine (by a standard convention).
There is no state, because UDP carries no state.
Notice the UDP server listening on port 53; this is the DNS port (called domain in /etc/services), so this machine has a DNS server listening for UDP connections. The UDP server on port 111 is the portmapper process (rpcbind).
UDP: User Datagram Protocol: A connectionless datagram service in the Transport layer used by applications that typically transmit small quantities of data.