guojing
2015-09-11 16:20:14 +08:00
运行 sudo lsof -i | grep java ,结果如下
java 256 root 59u IPv4 0xcd0413abe7e2725d 0t0 TCP localhost:44331 (LISTEN )
java 256 root 67u IPv4 0xcd0413abe7e2698d 0t0 TCP *:23423 (LISTEN )
java 256 root 77u IPv4 0xcd0413abe7e260bd 0t0 TCP *:23424 (LISTEN )
java 256 root 115u IPv4 0xcd0413abe7e27b2d 0t0 TCP *:8895 (LISTEN )
java 256 root 116u IPv4 0xcd0413abeb073ce5 0t0 UDP *:ssdp
java 256 root 123u IPv4 0xcd0413ac0377273d 0t0 TCP 192.168.1.101:8895->192.168.1.129:50206 (ESTABLISHED )
java 256 root 129u IPv4 0xcd0413abeb15fe6d 0t0 TCP 192.168.1.101:8895->192.168.1.143:61346 (ESTABLISHED )
java 256 root 131u IPv4 0xcd0413abeb15c98d 0t0 TCP 192.168.1.101:8895->192.168.1.58:58793 (ESTABLISHED )
java 256 root 134u IPv4 0xcd0413abeb162b2d 0t0 TCP 192.168.1.101:8895->192.168.1.113:55059 (ESTABLISHED )
java 256 root 135u IPv4 0xcd0413abeb16225d 0t0 TCP 192.168.1.101:8895->192.168.1.162:62951 (ESTABLISHED )
java 256 root 136u IPv4 0xcd0413abeb17473d 0t0 TCP 192.168.1.101:8895->192.168.1.46:54510 (ESTABLISHED )
java 256 root 137u IPv4 0xcd0413abeb173e6d 0t0 TCP 192.168.1.101:8895->192.168.1.59:51211 (ESTABLISHED )
java 256 root 138u IPv4 0xcd0413abeb172ccd 0t0 TCP 192.168.1.101:8895->192.168.1.177:53012 (ESTABLISHED )
java 256 root 168u IPv4 0xcd0413abeafdb59d 0t0 TCP 192.168.1.101:8895->192.168.1.60:50327 (ESTABLISHED )
192.168.1.101 是我本地的 局域网 ip