从远程访问本地主机上的站点 [英] Access to a site on localhost from remote

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

问题描述

我曾经在我的本地主机上开发我的项目,在 ubuntu 机器上的 apache 上.有时我需要向我的客户展示进度.是否可以从远程机器访问本地主机?

I use to develop my project on my localhost, on apache in ubuntu machine. Sometimes i need to show progress to my costumer. Is it possible to access to localhost from remote machine?

推荐答案

您可以使用为本地服务提供隧道的服务,例如 localtunnel、pagekite 或 ngrok.这些服务简化了远程演示、移动测试的设置,有些还提供请求检查.

You can use a service that provides a tunnel to your local service, such as localtunnel, pagekite or ngrok. These services simplify setting up remote demos, mobile testing and some provide request inspection as well.

我发现 ngrok 很有用,因为它提供了一个 https 地址,这是测试网络摄像头访问等内容所必需的.

I find ngrok useful because it provides a https address, which is needed to test things like webcam access.

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

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