当前位置:网站首页>Network connection verification
Network connection verification
2022-06-26 00:06:00 【Just put a flower in heaven and earth】
Network connection verification method
This article mainly summarizes the methods of centralized troubleshooting when the address of the access partner is not available during normal development . The following are in linux Command operation in environment .
IP Address classification
- A class :1.0.0.0-127.255.255.255
- B class :128.0.0.0-191.255.255.255
- C class :192.0.0.0-223.255.255.255
- D Class address is used in IP Network Multicast ( multicasting , Also known as Multichannel broadcasting ).D Before class address 4 The position is constant 1110 , Before presetting 3 Position as 1 signify D Class address starts at 128+64+32 be equal to 224. The first 4 Position as 0 signify D The maximum value of the class address is 128+64+32+8+4+2+1 by 239, therefore D class The address space ranges from 224.0.0.0 To 239. 255. 255.254.
- E Class address reserved for research . therefore Internet There is nothing available on E Class address .E Before class address 4 The position is constant 1, So the valid address range is 240.0.0.0 to 255.255.255.255.
D Classes and E Class is reserved , Out of commission .
Intranet ip, Public network ip And export ip The difference between
This machine IP( Intranet ip) It's you ( Intranet ) Medium IP, Can only be used in a LAN , In the Internet and Internet cafes, you need to access your local computer IP, Generally, it cannot be opened , This is through your exit IP To visit , And you must map the port on the router to your computer to access , exit IP It is usually called the public network IP.
View the exit ip The way
- curl cip.cc
return ip And operator information - curl ifconfig.me or curl ident.me
Returns a single ip - curl ipinfo.io
Test whether the network is smooth
telnet There are only two ways to test whether the network is smooth , But either way, you must add ports , Otherwise, it will fail , When using domain name , The corresponding port is generally 80 perhaps 443.
- telnet ip port
- telnet domain name port
for example :telnet www.baidu.com 443
边栏推荐
- Talk about singleton mode!
- Oracle writes a trigger that inserts a piece of data first and updates a field in the data
- STEP7主站与远程I/O组网_过路老熊_新浪博客
- Talk about the copy on write mechanism of PHP variables or parameters
- Studio5k v28安装及破解_过路老熊_新浪博客
- Recherche documentaire (3): examen des modèles de prévision de la consommation d'énergie des bâtiments fondés sur les données
- Let's talk about string today
- Final and static
- 树莓派开机发送热点进行远程登录
- 10.4.1 données intermédiaires
猜你喜欢

手工制作 pl-2303hx 的USB转TTL电平串口的电路_过路老熊_新浪博客

Some common operation methods of array

Simulation connection between WinCC and STEP7_ Old bear passing by_ Sina blog

文献调研(三):数据驱动的建筑能耗预测模型综述

Literature research (IV): Hourly building power consumption prediction based on case-based reasoning, Ann and PCA

Linking MySQL database with visual studio2015 under win10

【微信公众号H5】 生成带参数进入公众号关注页的二维码 监听用户关注公众号事件 自定义菜单栏 (服务端)

Circuit de fabrication manuelle d'un port série de niveau USB à TTL pour PL - 2303hx Old bear passing Sina blog

Building cloud computers with FRP

我的博客今天2岁167天了,我领取了先锋博主徽章_过路老熊_新浪博客
随机推荐
MySQL version upgrade + data migration
手工制作 pl-2303hx 的USB转TTL电平串口的电路_过路老熊_新浪博客
Unsigned and signed vernacular
Circuit de fabrication manuelle d'un port série de niveau USB à TTL pour PL - 2303hx Old bear passing Sina blog
Talk about singleton mode!
P3052 [USACO12MAR]Cows in a Skyscraper G
贴片加工厂家讲解__ICT是什么?主要测试什么?ICT测试的优缺点?
About Simple Data Visualization
Common problems encountered when creating and publishing packages using NPM
Talk about the copy on write mechanism of PHP variables or parameters
Installation of third-party library iGraph for social network visualization
SMT贴片加工pcba立碑现象的原因和解决方法
树莓派开机发送热点进行远程登录
Given the parameter n, there will be n integers 1, 2, 3,... From 1 to n, n. These n arrays have n! An arrangement that lists all columns in ascending order of size and marks them one by one. Given n a
文献调研(二):基于短期能源预测的建筑节能性能定量评估
How postman tests interfaces that require login
86.(cesium篇)cesium叠加面接收阴影效果(gltf模型)
JS中的数字数组去重
10.2.2、Kylin_kylin的安装,上传解压,验证环境变量,启动,访问
虚析构和纯虚析构及C ++实现