从互联网访问本地主机 [英] Access localhost from the internet

查看:74
本文介绍了从互联网访问本地主机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

出于测试目的,我需要在短时间内转发本地主机.必须从公共互联网访问它.

我该如何实现?

谢谢.

解决方案

您进入路由器配置,并将端口80转发到运行Web服务器的计算机的LAN IP.

然后,您网络之外的任何人(但您不在网络内部)都可以使用您的WAN IP地址( whatismyipcom )访问您的站点. /p>

I need to forward my localhost for a short period of time for testing purposes. It has to be accessed from the public internet.

How can I achieve this?

Thanks.

解决方案

You go into your router configuration and forward port 80 to the LAN IP of the computer running the web server.

Then anyone outside your network (but not you inside the network) can access your site using your WAN IP address (whatismyipcom).

这篇关于从互联网访问本地主机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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