Remotely viewing web pages served by pow.cx

前端 未结 3 1816
再見小時候
再見小時候 2020-12-28 20:57

Using WEBrick you could navigate to an app you were serving from another device/virtual machine by navigating to your.ip.address.here:port

Is it possible to do somet

3条回答
  •  悲&欢浪女
    2020-12-28 21:22

    The latest version of Pow (0.4.0) now includes xip.io support. You can read about the release here.

    Here's a quick explanation of how this helps Pow serve your Rails apps across your entire local network, from their post:

    Say your development computer’s LAN IP address is 10.0.0.1. With the new version of Pow, you can now access your app at http://myapp.10.0.0.1.xip.io/. And xip.io supports wildcard DNS, so any and all subdomains of 10.0.0.1.xip.io resolve too.

    Here's a description of xip.io, from their site:

    xip.io runs a custom DNS server on the public Internet. When your computer looks up a xip.io domain, the xip.io DNS server extracts the IP address from the domain and sends it back in the response.

提交回复
热议问题