tailscale

When trying to use `tailscale serve` getting "error: failed apply web serve: only localhost or 127.0.0.1 proxies are currently supported"


I'm following the Tailscale Funnel quick guide for how to serve a website using tailscale.

When running the following command, I get an error:

$ tailscale funnel index.html
error: failed apply web serve: only localhost or 127.0.0.1 proxies are currently supported

try `tailscale funnel --help` for usage info

I don't understand the error message. I previously enabled serve/funnel for my network as instructed by the CLI on a Tailscale website.


Solution

  • The error message is misleading. It should say that one needs to provide absolute paths to tailscale funnel/tailscale serve, not a relative path as I did.

    This works:

    tailscale funnel $(pwd)/index.html
    

    You can +1 the Github issue here: https://github.com/tailscale/tailscale/issues/10213