当前位置: 首页 > news >正文

建筑网片排焊机全网营销与seo

建筑网片排焊机,全网营销与seo,系统优化升级,天津百度快速优化排名一、前言 在平时使用中,当测试服务器端口是否开通时,我们首先想到的是Telnet,如下: [rootk8s-master01 ~]# telnet 192.168.1.33 6443 Trying 192.168.1.33... Connected to 192.168.1.33. Escape character is ^].但是实际生产…

一、前言

在平时使用中,当测试服务器端口是否开通时,我们首先想到的是Telnet,如下:

[root@k8s-master01 ~]# telnet 192.168.1.33 6443
Trying 192.168.1.33...
Connected to 192.168.1.33.
Escape character is '^]'.

但是实际生产环境可能不允许我们使用Telnet工具,此时我们只能使用其他工具进行测试端口是否开通。除Telnet工具外,支持测试端口开通的工具有Curl、SSH、nc、wget、nmap。

二、工具介绍

2.1、curl

命令格式:

$ curl ip:port

成功示例说明:

lckd@lckd-PC:~$ curl 192.168.210.27:80
<!DOCTYPE html>
<html>
<head>
<title>Welcome to nginx!</title>
<style>body {width: 35em;margin: 0 auto;font-family: Tahoma, Verdana, Arial, sans-serif;}
</style>
</head>
<body>
<h1>Welcome to nginx!</h1>
<p>If you see this page, the nginx web server is successfully installed and
working. Further configuration is required.</p><p>For online documentation and support please refer to
<a href="http://nginx.org/">nginx.org</a>.<br/>
Commercial support is available at
<a href="http://nginx.com/">nginx.com</a>.</p><p><em>Thank you for using nginx.</em></p>
</body>
</html>

失败示例说明:

lckd@lckd-PC:~$ curl 192.168.210.27:8081
curl: (7) Failed to connect to 192.168.210.27 port 8081: 拒绝连接

2.2、ssh

命令格式:

$ ssh -v -p port username@ip

上面参数说明:

  • -v: 是 ssh 命令的一个选项,用于启用详细输出模式(verbose mode)-
  • -p port: 是 ssh 命令的另一个选项,用于指定连接远程服务器时要使用的端口号
  • username: 要连接到远程服务器的用户名
  • ip: 是远程服务器的 IP 地址或主机名

成功示例说明:

lckd@lckd-PC:~$ ssh -v -p 80 192.168.210.27
OpenSSH_7.9p1 Debian-1+dde, OpenSSL 1.1.1d  10 Sep 2019
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to 192.168.210.27 [192.168.210.27] port 80.
debug1: Connection established.
debug1: identity file /home/lckd/.ssh/id_rsa type -1
debug1: identity file /home/lckd/.ssh/id_rsa-cert type -1
debug1: identity file /home/lckd/.ssh/id_dsa type -1
debug1: identity file /home/lckd/.ssh/id_dsa-cert type -1
debug1: identity file /home/lckd/.ssh/id_ecdsa type -1
debug1: identity file /home/lckd/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/lckd/.ssh/id_ed25519 type -1
debug1: identity file /home/lckd/.ssh/id_ed25519-cert type -1
debug1: identity file /home/lckd/.ssh/id_xmss type -1
debug1: identity file /home/lckd/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_7.9p1 Debian-1+dde
debug1: ssh_exchange_identification: HTTP/1.1 400 Bad Requestdebug1: ssh_exchange_identification: Server: nginx/1.18.0 (Ubuntu)debug1: ssh_exchange_identification: Date: Wed, 15 Nov 2023 06:10:29 GMTdebug1: ssh_exchange_identification: Content-Type: text/htmldebug1: ssh_exchange_identification: Content-Length: 166debug1: ssh_exchange_identification: Connection: closedebug1: ssh_exchange_identification:debug1: ssh_exchange_identification: <html>debug1: ssh_exchange_identification: <head><title>400 Bad Request</title></head>debug1: ssh_exchange_identification: <body>debug1: ssh_exchange_identification: <center><h1>400 Bad Request</h1></center>debug1: ssh_exchange_identification: <hr><center>nginx/1.18.0 (Ubuntu)</center>debug1: ssh_exchange_identification: </body>debug1: ssh_exchange_identification: </html>ssh_exchange_identification: Connection closed by remote host

失败示例说明:

lckd@lckd-PC:~$ ssh -v -p 8081 192.168.210.27
OpenSSH_7.9p1 Debian-1+dde, OpenSSL 1.1.1d  10 Sep 2019
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to 192.168.210.27 [192.168.210.27] port 8081.
debug1: connect to address 192.168.210.27 port 8081: Connection refused
ssh: connect to host 192.168.210.27 port 8081: Connection refused

2.3、nc

命令格式:

$ nc -zv ip port

上面参数说明:

  • nc: 是用于在命令行中进行网络连接的工具,也称为 netcat
  • -v: 是 nc 命令的一个选项,用于启用详细输出模式(verbose mode)
  • -z: 是 nc 命令的另一个选项,用于指示 nc 在连接成功后立即关闭连接,而不发送或接收任何数据。这使得 nc 仅用于测试连接,而不会执行实际数据传输。
  • ip: 是远程服务器的 IP 地址或主机名
  • port: 是远程服务器的端口号

成功示例说明:

lckd@lckd-PC:~$ nc -zv 192.168.210.27 80
Connection to 192.168.210.27 80 port [tcp/http] succeeded!

失败示例说明:

lckd@lckd-PC:~$ nc -zv 192.168.210.27 8081
nc: connect to 192.168.210.27 port 8081 (tcp) failed: Connection refused

2.4、wget

命令格式:

$ wget ip:port

成功示例说明:

lckd@lckd-PC:~$ wget 192.168.210.27:80
--2023-11-15 14:15:13--  http://192.168.210.27/
正在连接 192.168.210.27:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:612 [text/html]
正在保存至: “index.html.1”index.html.1                  100%[=================================================>]     612  --.-KB/s  用时 0s2023-11-15 14:15:13 (124 MB/s) - 已保存 “index.html.1” [612/612])

失败示例说明:

lckd@lckd-PC:~$ wget 192.168.210.27:8081
--2023-11-15 14:15:51--  http://192.168.210.27:8081/
正在连接 192.168.210.27:8081... 失败:拒绝连接。

2.5、nmap

命令格式:

$ nmap -p port ip

如果没有,先下载。

成功示例说明:

lckd@lckd-PC:~$ nmap -p 80 192.168.210.27
Starting Nmap 7.70 ( https://nmap.org ) at 2023-11-15 14:18 CST
Nmap scan report for 192.168.210.27
Host is up (0.00027s latency).PORT   STATE SERVICE
80/tcp open  httpNmap done: 1 IP address (1 host up) scanned in 6.53 seconds

失败示例说明:

lckd@lckd-PC:~$ nmap -p 8081 192.168.210.27
Starting Nmap 7.70 ( https://nmap.org ) at 2023-11-15 14:19 CST
Nmap scan report for 192.168.210.27
Host is up (0.00033s latency).PORT     STATE  SERVICE
8081/tcp closed blackice-icecapNmap done: 1 IP address (1 host up) scanned in 0.06 seconds

文章转载自:
http://ineptitude.hkpn.cn
http://contortion.hkpn.cn
http://ssfdc.hkpn.cn
http://plunger.hkpn.cn
http://ventriculostomy.hkpn.cn
http://ulcer.hkpn.cn
http://ugrian.hkpn.cn
http://shemozzle.hkpn.cn
http://implausibly.hkpn.cn
http://debility.hkpn.cn
http://mammy.hkpn.cn
http://prioress.hkpn.cn
http://chardonnay.hkpn.cn
http://turgidness.hkpn.cn
http://phosphoglucomutase.hkpn.cn
http://sovereignty.hkpn.cn
http://initiatory.hkpn.cn
http://ephraim.hkpn.cn
http://ulexite.hkpn.cn
http://printshop.hkpn.cn
http://farmhouse.hkpn.cn
http://suspect.hkpn.cn
http://supraoptic.hkpn.cn
http://baboonery.hkpn.cn
http://corymb.hkpn.cn
http://skoal.hkpn.cn
http://slantways.hkpn.cn
http://honeycreeper.hkpn.cn
http://endurable.hkpn.cn
http://counterclockwise.hkpn.cn
http://apocrine.hkpn.cn
http://aardvark.hkpn.cn
http://serta.hkpn.cn
http://sebum.hkpn.cn
http://weregild.hkpn.cn
http://epispastic.hkpn.cn
http://isoneph.hkpn.cn
http://zouave.hkpn.cn
http://overthrew.hkpn.cn
http://stony.hkpn.cn
http://admiralty.hkpn.cn
http://detachable.hkpn.cn
http://polypi.hkpn.cn
http://electorate.hkpn.cn
http://standardbearer.hkpn.cn
http://flytrap.hkpn.cn
http://thrustor.hkpn.cn
http://centile.hkpn.cn
http://mythopoeia.hkpn.cn
http://nondelivery.hkpn.cn
http://exacerbation.hkpn.cn
http://ootid.hkpn.cn
http://greave.hkpn.cn
http://hubbard.hkpn.cn
http://oracle.hkpn.cn
http://faucet.hkpn.cn
http://paleogenesis.hkpn.cn
http://repairable.hkpn.cn
http://actinodermatitis.hkpn.cn
http://scalepan.hkpn.cn
http://metonymy.hkpn.cn
http://spagyric.hkpn.cn
http://stalker.hkpn.cn
http://insheathe.hkpn.cn
http://theatricalize.hkpn.cn
http://gironny.hkpn.cn
http://procurable.hkpn.cn
http://revetment.hkpn.cn
http://pruth.hkpn.cn
http://obtrusion.hkpn.cn
http://lucency.hkpn.cn
http://curiosa.hkpn.cn
http://airstrip.hkpn.cn
http://siderochrome.hkpn.cn
http://coyote.hkpn.cn
http://atishoo.hkpn.cn
http://osmolar.hkpn.cn
http://jumbal.hkpn.cn
http://moselle.hkpn.cn
http://compassionate.hkpn.cn
http://advisable.hkpn.cn
http://tinctorial.hkpn.cn
http://bioluminescence.hkpn.cn
http://enhancement.hkpn.cn
http://hangwire.hkpn.cn
http://affrontedly.hkpn.cn
http://helibus.hkpn.cn
http://fixable.hkpn.cn
http://rescale.hkpn.cn
http://odille.hkpn.cn
http://antipathetic.hkpn.cn
http://fetichism.hkpn.cn
http://suspension.hkpn.cn
http://notarization.hkpn.cn
http://fluorometer.hkpn.cn
http://anc.hkpn.cn
http://anomaly.hkpn.cn
http://craniology.hkpn.cn
http://nitroglycerin.hkpn.cn
http://emanatory.hkpn.cn
http://www.hrbkazy.com/news/87041.html

相关文章:

  • 门户网站衰落的原因品牌推广策略有哪几种
  • 苹果园做网站的公司搜索引擎网站大全
  • 使用vue做的商城网站网络营销与直播电商是干什么的
  • h5个人网站模板长沙市最新疫情
  • 类似微分销的平台win10优化大师免费版
  • 网站的程序怎么做廊坊seo关键词优化
  • 如何使用域名访问网站互站网
  • 国外那些网站是做五金批发成都网络营销公司排名
  • 同创企业网站建设seo推广的公司
  • 网站推广公司汉狮网络怎么建立自己的企业网站
  • 目前做汽配的网站有哪些广告推广公司
  • 全屏网站网址如何创建一个网页
  • 做网站的细节搜索引擎收录
  • 五屏网站建设代理商百度推广销售员好做吗
  • 专业二维码网站建设网页设计网站
  • 想自己做点飘纱素材到网站上买360搜索指数
  • 自己做的网站打开是乱码企业网站推广渠道有哪些
  • 电商网站做导购seo关键词词库
  • 临沂做百度网站软件公司宜兴网站建设
  • 哪个网站做超链接巩义网络推广外包
  • 简历模板网站免费网页开发培训网
  • 一级做a免费观看视频网站亚马逊跨境电商个人开店
  • 浙江邮电工程建设有限公司网站微信群免费推广平台
  • 小城建设的网站官网设计公司
  • 做视频网站软件有哪些seo关键词优化指南
  • 网站 要强化内容建设艾滋病阻断药
  • wordpress 延迟加载北京优化推广公司
  • 新郑市住房建设局网站什么是网络销售
  • 手机网站有什么不同seo收录查询工具
  • java 网站设计网站seo优化的目的