Current location - Quotes Website - Collection of slogans - How to check the ip address and port of your computer?
How to check the ip address and port of your computer?
You can view the connection properties and ip in the online neighborhood, or you can get the ip of your computer from Baidu ip, or you can view it by entering commands.

To check the computer IP address and port:

Method 1:

If you want to know how to check the ip address of this computer, it is very important to know what kind of network our computer is in. In the first case, if our computer ip address belongs to adsl dial-up Internet access, then the ip address assigned to us by the telecom service provider is a dynamic address, that is, as long as our computer is turned on, a new ip address will be assigned.

In this case, we should first open the start menu, then select Run, then enter cmd and press Enter. This operation can successfully open the "command prompt", enter "ipconfig" at the command prompt, and press Enter to successfully open your own ip address.

Method 2:

If your computer is in a local area network, then your address is distributed centrally by routers or hubs, and your address is a local area network address. At this time, you only need to use a computer to connect to the network, and then make an online inquiry. Generally speaking, Baidu's first network address is its own address.

How to view the local computer port

To view the computer port of this computer, you need to use a specific running command, in which you need to open the desktop first, press win+X, and then select "Command Prompt". After entering the command, we may see the wrong message. At this time, we need to enter the command netstat to browse the statistics roughly, and the information with a colon is the information of the port. Through this operation, we can not only view the port, but also end various ongoing programs. Of course, it should also correspond to the corresponding process number, so as to operate the port command more conveniently and quickly.

Meaning of local IP address:

There are two ways to check the IP address of the machine. The so-called IP address is divided into LAN IP address and WAN IP address. We usually say that the IP address of the network is unique, but this uniqueness does not hold true in the local area network. For a simple example, the LAN address used by a company is usually: 192. 168. X.XXX, the IP address assigned to an employee is:192.168.56.1. But in other companies, there will also be an IP address like192.168.56.1,which is the non-uniqueness of LAN IP address.

In general, users who dial by adsl through service providers such as telecommunications will be provided with a dynamic IP address, which is variable. That is to say, the IP address assigned to the user is different every time it is turned on, but it must be unique every time; This is the same as the IP address we found through the network in Baidu. All users in the same LAN have the same IP address on the network, even if the internal IP addresses assigned in the LAN are different.

Web pages other than IP addresses

The IP of 1 used to connect computers and the Internet is called extranet IP. Inquiring about the IP address of the external network is actually very simple. We only need to search Baidu's IP to find the IP address of this machine. This is the extranet IP address that we use to connect to the Internet now. Is it simple?

Of course, in addition to direct Baidu ip, there are many other IP address inquiry websites that can also be inquired, and we only need to save one of them. One thing to note is that if it is dial-up internet access, the IP address will change randomly every time you disconnect and reconnect, which must be noted.

There is also a method circulating on the internet to query the IP of the external network through files. In fact, the principle of this method is the same as querying the IP address directly on the website, but the difference is that it introduces the queried file into the file. In fact, the simplest IP query method for the external network is Baidu IP. Just remember this method.

Within the IP address

1IP address has both external network and internal network, which is what we usually call local area network. The method of querying intranet IP is also very simple. First of all, let's introduce the local connection query method. Let's right-click My Network Places, find Properties and click, then find the Local Area Connection option and double-click to open it.

Then we click the support tab, and the IP address is the intranet IP we need to query. Careful friends may have found that the address type option is manually configured, and the IP address is automatically obtained under normal circumstances. Of course, it can also be configured manually. Of course, this is not the point today, so I won't elaborate on Bian Xiao here. Interested friends can learn about relevant experience or wait for Bian Xiao's detailed experience on IP settings.

Of course, in addition to the local connection query method, we can also use the command line query method. Click the start menu, find the run option and click, and enter cmd to enter the command line mode. Then we just need to enter ipconfig and enter, and the IP address option here is the IP address of the intranet we need to query.