Troubleshooting Policy server and WebAgent with Unix command netstat.

Document ID : KB000014396
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

The netstat command is used to print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships.

Answer:

 

Using the command  from the policy server, netstat -anp | grep smpolicysrv

 

The output is similar to the following:

 

tcp        0      0 127.0.0.1:38570             127.0.0.1:44449             ESTABLISHED 20338/smpolicysrv
tcp        0      0 127.0.0.1:54474             127.0.0.1:1389               ESTABLISHED 20338/smpolicysrv
tcp        0      0 :::44441                         :::*                               LISTEN           20338/smpolicysrv
tcp        0      0 :::44442                         :::*                               LISTEN           20338/smpolicysrv
tcp        0      0 :::44443                         :::*                               LISTEN           20338/smpolicysrv
tcp        0      0 :::44444                         :::*                               LISTEN           20338/smpolicysrv
udp       0      0 0.0.0.0:44298                 0.0.0.0:*                                              20338/smpolicysrv
udp       0      0 127.0.0.1:44232             0.0.0.0:*                                              20338/smpolicysrv
udp       0      0 :::44444                         :::*                                                     20338/smpolicysrv
unix      2      [ ]         DGRAM                 5733486                                               20338/smpolicysrv

 

This shows the Policy Server is listening in the posts 44444, 44443, 44442, and 44441.