find which process use some tcp/udp port
来源:互联网 发布:淘宝鬼脚七是谁 编辑:程序博客网 时间:2024/06/08 08:25
windows platform
1. run command
netstat -a -n -o
from the output find the pid id for the port
2. open task management
or run command
tasklist /svc /FI "pid eq 2404"
linux platform
# 查看所有打开的端口及服务名(注意这里显示的服务名只是标准端口对应的服务名,可能并不准确)
nmap localhost
# 查看哪些进程打开了指定端口port(对于守护进程必须以root用户执行才能查看到)
lsof -i:port
# 查看哪些进程打开了指定端口port,最后一列是进程ID(此方法对于守护进程作用不大)
netstat -nap|grep port
# 查看端口号对应的系统服务名称
cat /etc/services
# 启动|停止|重启系统服务
sudo /etc/init.d/service start|stop|restart
- find which process use some tcp/udp port
- TCP+UDP+PROCESS
- How to know the port which process is using
- how to check which process occupied the port
- List of TCP and UDP port numbers
- UDP广播IP,PORT,TCP建立链接
- How do I find which phpize to use?
- MySQL "Bind on TCP/IP port: Address already in use"
- 在线端口检查工具 Online IP TCP UDP port scan
- TCP、UDP及Socket(Port)的关系,深入浅出!
- TCP、UDP及Socket(Port)的关系,深入浅出!
- which -find
- Port 80 in use by "Unable to open process" with PID 4
- Xampp error:Port 80 in use by "Unable to open process" with PID 4!
- qt udp/tcp 绑定发送源端口(Specify source UDP port when writing datagram)
- sys port and process
- user port and process
- How can I find out which process and user is modifying a file?
- ListView 使用中几个比较特别的设置
- 多态的理解
- 索引表空间不足,数据无法插入和更新
- freemarker语法大全
- 一个男人该有的气质和品行!
- find which process use some tcp/udp port
- C/C++函数调用约定与函数名称修饰规则探讨
- Android 页面间的转换(setContentView)
- 是什么让你的ExtJS应用程序运行缓慢?
- 产品如何取得WFA的WiFi认证(一)总览
- dom4j xml 排序
- python 获得命令行参数的方法
- normal用户同一时间只能有一个登录session,如何实现多个登录?
- python 小记