linux view the process number occupied by the port

Basic format: netstat -tlnp|grep port port number

E.g:

          netstat -tlnp|grep 8080 to
        see the results

         tcp        0      0 :::8080                     :::*                        LISTEN      23031/java  

 

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326861668&siteId=291194637