大佬教程收集整理的这篇文章主要介绍了Ubuntu 16.04 LTS中检测特定端口号,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
检测与influxd程序相关的几个端口号。
lwk@qwfys ~ $ sudo netstat -naptu | grep LISTEN | grep influxd
tcP6 0 0 :::8083 :::* LISTEN 15668/influxd
tcP6 0 0 :::8086 :::* LISTEN 15668/influxd
tcP6 0 0 :::8088 :::* LISTEN 15668/influxd
检测当前哪些端号号打开着
lwk@qwfys ~ $ sudo netstat -tupln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.1.1:53 0.0.0.0:* LISTEN 1617/dnsmasq
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 1477/MysqLd
tcP6 0 0 :::3000 :::* LISTEN 13576/grafana-serve
udp 0 0 0.0.0.0:631 0.0.0.0:* 1050/cups-browsed
udp 0 0 0.0.0.0:5353 0.0.0.0:* 2908/chrome
udp 0 0 0.0.0.0:5353 0.0.0.0:* 852/avahi-daemon: r
udp 0 0 0.0.0.0:46618 0.0.0.0:* 852/avahi-daemon: r
udp 0 0 0.0.0.0:40932 0.0.0.0:* 1617/dnsmasq
udp 0 0 127.0.1.1:53 0.0.0.0:* 1617/dnsmasq
udp 0 0 0.0.0.0:68 0.0.0.0:* 1597/dhclient
udp 0 0 192.168.1.71:123 0.0.0.0:* 2539/ntpd
udp 0 0 127.0.0.1:123 0.0.0.0:* 2539/ntpd
udp 0 0 0.0.0.0:123 0.0.0.0:* 2539/ntpd
udP6 0 0 :::42801 :::* 852/avahi-daemon: r
udP6 0 0 :::5353 :::* 2908/chrome
udP6 0 0 :::5353 :::* 852/avahi-daemon: r
udP6 0 0 fe80::1450:2330:2f6:123 :::* 2539/ntpd
udP6 0 0 ::1:123 :::* 2539/ntpd
udP6 0 0 :::123 :::* 2539/ntpd
以上是大佬教程为你收集整理的Ubuntu 16.04 LTS中检测特定端口号全部内容,希望文章能够帮你解决Ubuntu 16.04 LTS中检测特定端口号所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。