公有ip地址和私有ip地址

Each device on your network has a private IP address only seen by other devices on the local network. But your ISP assigns you a public IP address that other devices on the Internet can see. Here’s how that works and how you can find those IP addresses.

网络上的每个设备都有一个专用IP地址,只有本地网络上的其他设备才能看到。 但是,您的ISP会为您分配一个Internet上其他设备可以看到的公共IP地址。 这是它的工作方式以及如何找到这些IP地址。

An IP address (or Internet Protocol address) identifies each networked computer and device on a network. When you sign up with Internet service and connect your modem, your ISP assigns you a public IP address. This address is how you communicate with all the other devices out there on the public Internet. But, you’ve likely got multiple computers and other devices on your network—each of which needs its own IP address. So, how does that all work and how can you find out what all those IP addresses are? Read on for the answer!

IP地址(或Internet协议地址)标识网络上的每台联网计算机和设备。 当您注册Internet服务并连接调制解调器时,ISP将为您分配一个公共IP地址。 此地址是您与公用Internet上所有其他设备进行通信的方式。 但是,您的网络上可能有多台计算机和其他设备-每个都需要自己的IP地址。 那么,这一切如何工作,如何找出所有这些IP地址呢? 请继续阅读以获取答案!

公用与专用IP地址 (Public vs. Private IP Addresses)

The answer to all this IP address wizardry is that your router—whether it’s a standalone device or a modem/router combo unit—essentially serves as a bridge between two networks. In a typical home network, a router has a public IP address on the Internet. The computers, smartphones, game consoles, and other devices behind the router each have a unique private IP address on the home network. The router acts as an intermediary, forwarding traffic to the local IP addresses that request it. From an outside perspective, all devices on the home network are communicating with the Internet from a single public IP address.

所有这些IP地址向导的答案是您的路由器(无论是独立设备还是调制解调器/路由器组合单元)基本上都充当了两个网络之间的桥梁。 在典型的家庭网络中,路由器在Internet上具有公共IP地址。 路由器后面的计算机,智能手机,游戏机和其他设备在家庭网络上均具有唯一的专用IP地址。 路由器充当中介,将流量转发到请求它的本地IP地址。 从外部角度来看,家庭网络上的所有设备都通过单个公共IP地址与Internet通信。

Note that if your computer is connected directly to the Internet with no router sitting in between—something we really don’t recommend—your computer’s IP address is a public IP address.

请注意,如果您的计算机直接连接到Internet,并且中间没有路由器(我们不建议这样做),那么您计算机的IP地址就是公用IP地址。

Sometimes, you might need to know the private IP address of a device or your network’s public IP address—or maybe both. Here’s an example. Say you’re hosting some kind of server software on a computer on your network and you need people on the Internet to be able to connect to it. Maybe you’re playing a multiplayer game, maybe you need to access a home-hosted media server, or maybe you just want to get remote access to one of your PCs.

有时,您可能需要知道设备的专用IP地址或网络的公用IP地址,或者可能两者都需要。 这是一个例子。 假设您要在网络上的计算机上托管某种服务器软件,并且需要Internet上的人员才能连接到该服务器。 也许您正在玩多人游戏,也许您需要访问家用媒体服务器,或者您只想对一台PC进行访问权限 。

You’ll need to know your network’s public IP address that people can type into their client software. And you’ll need to know that computer’s private IP address so you can configure your router to direct that kind of traffic to the right computer on your local network.

您需要知道人们可以在其客户端软件中键入的网络的公共IP地址。 而且您将需要知道该计算机的专用IP地址,以便可以配置路由器以将这种流量定向到本地网络上的正确计算机。

Your computer likely has public and private IP addresses. You’ll need the IP address if you’re hosting server software – the client computers will need your computer’s IP address to connect to it.

您的计算机可能具有公用和专用IP地址。 如果您托管服务器软件,则需要IP地址-客户端计算机将需要计算机的IP地址才能与其连接。

查找您的私有IP地址 (Finding Your Private IP Address)

It’s not difficult to find a device’s private IP address. In fact, we’ve got a great guide that shows you how to find your IP address on almost every platform out there, so we recommend you take a look at that for specifics on how to find the private IP address of your particular device. In short, though, you usually need to check out the network settings on your device and look for any information labeled “TCP/IP,” “IP Address,” or just “WiFi.”

查找设备的私有IP地址并不难。 实际上,我们有一个很好的指南,向您展示了如何在几乎所有平台上找到您的IP地址 ,因此我们建议您仔细查看一下如何找到特定设备的私有IP地址。 简而言之,尽管如此,通常您需要检查设备上的网络设置,并查找标有“ TCP / IP”,“ IP地址”或“ WiFi”的所有信息。

On most full computing platforms—like Windows, MacOS, and Linux—you can often find the information quickly using the Command Prompt or Terminal. For example, in Windows, you can open the Start menu, search for Command Prompt, and press Enter. Then type ipconfig in the Command Prompt that appears and press Enter—you’ll get to what you’re looking for in no time.

在Windows,MacOS和Linux等大多数完整的计算平台上,您通常可以使用命令提示符或终端来快速找到信息。 例如,在Windows中,您可以打开“开始”菜单,搜索“命令提示符”,然后按Enter。 然后,在出现的命令提示符中键入ipconfig并按Enter键,您将立即获得所需的内容。

查找您的公共IP地址 (Finding Your Public IP Address)

The easiest way to find your public IP address is by asking a website, since that website sees your public IP address and can tell it to you. We recommend using the site ip4.me because it’s quick, ad-free, and will show your IPv4 address—the four part address you’re most likely looking for—rather than the more complicated IPv6 address that your network is likely also configured to use. Just visit the site and it will show you your public IP address.

找到您的公共IP地址的最简单方法是询问一个网站,因为该网站会看到您的公共IP地址并将其告知您。 我们建议您使用ip4.me网站,因为它快速,无广告,并且会显示您的IPv4地址(您最可能需要的四部分地址),而不是网络也可能配置为更复杂的IPv6地址。用。 只需访问该站点,它将为您显示您的公共IP地址。

You can also access your router’s administration page to find this information. This page displays your public IP address and other information about your Internet connection. Different routers have different administration page layouts and different default local IP addresses. Consult your router’s manual or the manufacturer’s website if you need more information. And if you need it, we also have a good guide on finding your router’s IP address.

您也可以访问路由器的管理页面以查找此信息。 此页面显示您的公共IP地址和有关Internet连接的其他信息。 不同的路由器具有不同的管理页面布局和不同的默认本地IP地址。 如果需要更多信息,请查阅路由器的手册或制造商的网站。 并且,如果您需要它,我们也为您找到路由器的IP地址提供了很好的指南。



You should also know that unlike street addresses, IP addresses aren’t necessarily fixed. Unless you’ve purchased a static address from them, your ISP may occasionally assign you a new public IP address. And, unless you’ve configured static IP address assignments for your local devices, your router may occasionally assign your devices new IP addresses.

您还应该知道,与街道地址不同,IP地址不一定是固定的。 除非您从他们那里购买了静态地址,否则您的ISP有时可能会为您分配一个新的公共IP地址。 而且,除非您为本地设备配置了静态IP地址分配,否则路由器可能会偶尔为设备分配新的IP地址。

翻译自: https://www.howtogeek.com/117371/how-to-find-your-computers-private-public-ip-addresses/

公有ip地址和私有ip地址

公有ip地址和私有ip地址_如何查找您的私有和公共IP地址相关推荐

  1. python调用ip摄像头为什么打不开_怎么用python的opencv库打开ip摄像头

    使用IP摄像头,需要在手机上下载一个网络摄像头app,之后在app上开启云服务,就可以把手机摄像头当做电脑的另外一个摄像头. 下载支持网络摄像头的app 首先下载任意款网络摄像头 本人手机魅蓝note ...

  2. java 反射私有变量赋值_通过反射,操作私有成员变量(取/赋值),调用私有方法...

    Java的反射工具很强大,有句著名的话:No reflection ,no frameworks. 工作中直到涉及到UT,才体会到它的重要性,现归纳整理一个小例子: 反射工具类:import java ...

  3. 私有5g网络_哪些行业更需要私有5G网络?

    工业物联网(IIoT)应用是5G私网最主要的应用领域(通常被称为工业4.0).工厂将安装传感器来监测环境条件,通过在设备上安装传感器来监控一切是否正常工作,并在一切潜在问题发生之前发现它们,从而在最终 ...

  4. 公网ip需要网关吗_关于公共IP地址(公网ip):您需要知道的一切

    目录: 什么是公共ip地址? 私有IP与公共IP地址 公共IP地址范围 如何查找您的公共IP地址 动态ip 隐藏您的公共IP地址 什么是公共ip地址? 公共IP地址是您的家庭或企业路由器从ISP接收的 ...

  5. 公共IP地址、私有IP地址、NAT技术

    1.公共IP地址和私有IP地址的区别? 在 Internet 上存在数量有限的 IP 地址,这些能在Intenet上使用的地址被称为公共IP地址,且IP地址必须是唯一的 但是私有IP地址就是例外,这些 ...

  6. 关于公共IP地址(公网ip):您需要知道的一切

    目录: 什么是公共ip地址? 私有IP与公共IP地址 公共IP地址范围 如何查找您的公共IP地址 动态ip 隐藏您的公共IP地址 什么是公共ip地址? 公共IP地址是您的家庭或企业路由器从ISP接收的 ...

  7. python定义私有变量的方法_Python类中的 私有变量和私有方法

    默认情况下,Python中的成员函数和成员变量都是公开的(public),在python中没有类似public,private等关键词来修饰成员函数和成员变量. 在python中定义私有变量只需要在变 ...

  8. ubuntu修改ip地址后如何保存_如何在 Ubuntu 中检查你的 IP 地址 | Linux 中国

    不知道你的 IP 地址是什么?以下是在 Ubuntu 和其他 Linux 发行版中检查 IP 地址的几种方法.-- Sergiu 不知道你的 IP 地址是什么?以下是在 Ubuntu 和其他 Linu ...

  9. 基于ip地址的客户识别原理_使用 LVS 实现负载均衡原理及安装配置

    [141] 负载均衡集群是 load balance 集群的简写,翻译成中文就是负载均衡集群.常用的负载均衡开源软件有nginx.lvs.haproxy,商业的硬件负载均衡设备F5.Netscale. ...

最新文章

  1. 数字证书管理工具keytool常用命令介绍
  2. Oracle全文索引之四 维护
  3. FreeImage 结合 VB6 使用技巧
  4. Atitit 并发技术的选项 attilax总结 艾龙 著 1. 三大并发模型 1 2. 从可读性考虑 优先使用 并行工作者 多线程模式,不要使用异步流水线模式 2 2.1. 多线程模式方便全局
  5. oracle dba_tables degree default,oracle中如何将表的并行度设定为DEFAULT?如下:
  6. 聚类算法之层次聚类和密度聚类(图文并茂)
  7. js 获取ip和浏览器信息
  8. xshell 配置公钥 免密码登陆
  9. 利用STM32F103精确控制步进电机
  10. 手机话费充值页面HTMLcss3+html5模板
  11. c:\windows\ ntdetect failed
  12. 13.2.3 VAM服务器的配置步骤及示例(2)
  13. Ubuntu下清除DNS缓存的方法
  14. mqtt协议之Apache Apollo 安装和配置
  15. Seq2Seq基本原理
  16. 风云编程python基础语法(5)
  17. 统计学基础之:均值-中位数-众数-极差-中程数-方差-标准差-变异系数
  18. 隐秘而伟大,探访鹏博士大数据双十一背后那些真英雄
  19. RoCE网络技术和实现方式
  20. ubuntu 搭建k8s集群中篇

热门文章

  1. windows10系统修改c盘Users目录中的中文名称
  2. 使用Python爬取中国天气网天气数据
  3. 红米手机4android os是木马怎么清除,红米Note4 的LineageOS14.1刷机包 安卓7.1.1原生风格 本地化 20180203更新...
  4. 电子表格的历史:除非你知道它从何而来,否则你将无法预测它将走向何方
  5. php伪装图片,GIF 图片伪装技术
  6. 【VLC开发】libvlc_new函数参数
  7. 误人子弟的网络,谈谈HTTP协议中的短轮询、长轮询、长连接和短连接
  8. 51单片机与STM32的区别(为何51单片机IO引脚的驱动能力弱)
  9. 数据分析实战:航空公司客户价值分析
  10. eclipse web插件配置方法(tomcat10 也可解决)