1.lsof
(1).查看端口对应的进程号
2.netstat
(1).根据进程号查看对应的端口信息
3.防火墙
(1).开启防火墙
(2).开放指定端口
–zone=public:作用域
–add-port=8080/tcp:添加端口,格式为端口/通讯协议
–permanent:永久生效,没有此参数重启后失效
(3).重启防火墙
(4).查看当前所有tcp端口
wx63560c7d74933 博主文章分类:从头开始学Linux ©著作权
1.lsof
(1).查看端口对应的进程号
2.netstat
(1).根据进程号查看对应的端口信息
3.防火墙
(1).开启防火墙
(2).开放指定端口
–zone=public:作用域
–add-port=8080/tcp:添加端口,格式为端口/通讯协议
–permanent:永久生效,没有此参数重启后失效
(3).重启防火墙
(4).查看当前所有tcp端口
上一篇:9.内存状态命令
下一篇:10.上传与下载命令
【代码】8. 引用。
1. java 数据存储 1、 指针( cursor ) java 无指针 ·java只是将指针隐藏,指针依旧以存储地址的形式埋藏在程序深处。甚至可以说java中所有的东西都是指针 2、
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M