命令行查看IP和端口

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u012869196/article/details/83615969

Window:

查看全部IP端口

ipconfig

查看某个端口信息

netstat -ano | findstr 1521

Linux:

查看全部IP端口

ifconfig

查看某个端口信息

netstat -ano | grep 1521

CentOS:

CentOS中安装firewalld也可以查看端口信息

yum install firewalld
firewall-cmd --list-ports

猜你喜欢

转载自blog.csdn.net/u012869196/article/details/83615969