Running Localtunnel Server

I’d like to run a localtunnel server on Render, it requires:

The server can accept incoming TCP connections for any non-root TCP port (i.e. ports over 1000)

Is this feature request the right one to up vote to get localtunnel supported?
https://feedback.render.com/features/p/allow-connecting-to-non-http-services-from-outside-render

I tried installing and running localtunnel anyway, just to see what happened, and I get the error below.

Error: connection refused: [domain-redacted]:33865 (check your firewall settings)
    at Socket.<anonymous> (/usr/local/share/nvm/versions/node/v16.11.1/lib/node_modules/mytunnel/lib/TunnelCluster.js:52:11)
    at Socket.emit (node:events:390:28)
    at emitErrorNT (node:internal/streams/destroy:157:8)
    at emitErrorCloseNT (node:internal/streams/destroy:122:3)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)

So, I’m assuming it’s a similar limitation port issue, but wanted to confirm with the community + upvote the right feature requests.

Thanks in advance for any guidance!

Hi @thalida, welcome to the Render community! I believe that is the correct feature request for you to upvote. I also looked at the localtunnel docs and it looks like you can set it up with Docker and nginx which might be a few extra steps but may work on Render.

1 Like