获取本地IP和端口号的指令

ipconfig就可以获取ip

获取端口号的指令:

开始--运行--cmd--输入netstat an(中间有一空格)

原文地址:https://www.cnblogs.com/BoYu045535/p/3257185.html