由于机房搬迁,需要重新telnet看看网络是否联通 [weblogic@pays03pre_BankVerify /]$ telnet 172.29.1.159 22Trying 172.29.1.159...Connected to 172.29.1.159.Escape character is '^]'.SSH-2.0-OpenSSH_5.3 1:首先准备hosts文件夹,里面保存所有你要telnet的地址,端口号都是22 2:遍历hosts里面的全部ip,然后将telnet的结果保存在
linux运维都需要对端口开放查看 netstat 就是对端口信息的查看 # netstat -nltp p 查看端口挂的程序 [root@iz2ze5is23zeo1ipvn65aiz ~]# netstat -nltp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp /nginx: master tc
root@kali:~# netstat -luntp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 17
问题描述: 按照官网步骤,虚拟机里安装并启动memcached, 虚拟机里自己telnet11211端口可以连接, 使用Xmanager22端口可以连接到虚拟机,但是始终telnet不同11211端口 问题原因:请求被防火墙拦截 解决办法:关闭防火墙 关闭防火墙时遇到问题: Failed to restart iptables.service: Unit iptables.service failed to load: No such file or directory. 解决办法: 防火墙配置
NMap,也就是Network Mapper,最早是Linux下的网络扫描和嗅探工具包. 1 安装 apt-get install nmap 2 使用,查看ip下所有对外的端口 $ sudo nmap -sS ip Starting Nmap 7.01 ( https://nmap.org ) at 2018-11-16 18:29 CST Nmap scan report for ip Host is up (0.038s latency). Not shown: 997 filtered p