Current location - Quotes Website - Collection of slogans - How do I know the port number of my IP address?
How do I know the port number of my IP address?
There are several ways to query the real IP address:

1. If public IP is used, you can view it in ipconfig under cmd.

2. If it is dial-up Internet access, you need to check the router WAN port or open a web browser, and enter IP 138.com to display your public IP.

As for the port number binding to the service, you can only query the port occupied by a service or program. Enter netstat -ano in cmd to find out all the ports occupied and check the ports you need to know.

The port number ranges from 0 to 65535, such as 80 for web, 2 1 for ftp and so on.