当前位置:懂科普 >

IT科技

> Windows如何用自带的端口转发命令

Windows如何用自带的端口转发命令

1、打开运行

按键盘上的win+r打开运行窗口。

Windows如何用自带的端口转发命令

2、输入cmd

输入cmd后点击“确定”。

Windows如何用自带的端口转发命令 第2张

3、输入命令

在命令窗体中输入netsh interface portproxy add v4tov4 listenaddress=192.168.0.101 listenport=7001 connectaddress=192.168.0.80 connectport=8080。用netsh interface portproxy show all查看端口转发是否成功。

Windows如何用自带的端口转发命令 第3张

出现此样式说明端口转发成功:

地址 端口 地址 端口

--------------- ---------- --------------- ----------

* 7001 192.168.0.80 8080

以上就是为大家介绍了Windows如何用自带的端口转发命令,希望对大家有所帮助。

  • 文章版权属于文章作者所有,转载请注明 https://dongkepu.com/itkeji/5xdyy.html