Ubuntu怎么查看服务器ip和端口号

Ubuntu查看服务器ip和端口号的方法:

1.登录ubuntu系统进入终端命令行模式。

2.输入命令切换到root用户。

sudo su

3.再输入以下进行查看。

#查看服务器ip

sudo ifconfig -a

#查看端口号

netstat -an

Both comments and pings are currently closed.

Comments are closed.

Powered by KingAbc | 粤ICP备16106647号-2 | Loading Time‌ 0.355