Current location - Quotes Website - Collection of slogans - How to look at the IP and port of your host?
How to look at the IP and port of your host?
The method is as follows:

There are many ways to view ip. Take win7 as an example. Open the control panel, find the Network and * * * Enjoy Center, and click Change Adapter Settings on the left. If it is a wired connection, double-click the local connection, and then click Details, where ipv4 is the ip address you want to view. If it is a wireless connection, double-click the wireless connection, and click details to view ip!

As for ports, many ports are fixed. For example, IE uses 80 ftp, 2 1 telnet, 23 QQ and 8080 ports. To view the port, click Start, enter cmd in the run box, then right-click to run in cmd.exe, and enter ":"after the ip address of netstat -a -n in cmd, which is the used port!

Similarly, if you look at the ip address of this machine, you can also enter ipconfig /all (with spaces in the middle) from cmd, and the information of each network card can be displayed intuitively, and the network card being used will have the information of ip address!