在Windows 7上端口转发 [英] Port forwarding on Windows 7

查看:391
本文介绍了在Windows 7上端口转发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何重定向端口XXX为localhost一个进来的请求:在Windows 7 YYY

How do I redirect an incomming request on port xxx to localhost:yyy on windows 7?

开发服务器(VS 2008)只允许从本地主机访问它不是足够好。我需要从不同的计算机测试我的应用程序。

Development Server (vs 2008) only allow access from localhost which isnt good enough. I need to test my app from various computers.

推荐答案

感谢您的建议家伙,但我发现自己的答案。

Thanks for the suggestions guys, although I found the answer myself.

我下载了Microsoft SOAP工具包版本3,开始MSSoapT,创造了一个格式化的跟踪侦听端口8080,转发主机:127.0.0.1端口:3804我的问题是我用本地主机,而不是127.0.0.1。

I downloaded Microsoft SOAP Toolkit version 3 and started MSSoapT, created a formatted trace listening on port 8080, forwarding to host: 127.0.0.1 port: 3804. My problem was I used "localhost" and not "127.0.0.1".

现在通过8080端口从其他计算机我的机器的每个请求将被重定向到端口3804,其中ASP.NET开发服务器的静态设置调试VS.NET的webapps时听。

Now every request made to my development machine from other computers through port 8080 will be redirected to port 3804 where ASP.NET Development Server is statically set to listen when debugging VS.NET webapps.

这篇关于在Windows 7上端口转发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆