To test TaskChain "as a whole" with 4 people, follow these steps to expose your local server to the internet using SSH Remote Forwarding.
- Windows PowerShell (or any terminal with
ssh). - No account required for
localhost.run.
Ensure your app is running locally:
- Backend:
npm run dev(Runs on port 5001) - Frontend:
npm run dev(Runs on port 5173 with proxy configured)
Run the following command in a new PowerShell window. This will tunnel traffic from the public internet to your local frontend.
ssh -R 80:localhost:5173 nokey@localhost.run- The command output will show a URL (e.g.,
https://random-name.localhost.run). - Share this URL with your 4 testers.
- They can open it in their browser and access the full application.
- We configured the frontend to Proxy API requests (
/api) and Websockets (/socket.io) to the backend. - This means you only need to expose port 5173.
- External users hit the public URL -> Tunnel -> Your Vite Server -> Proxy -> Your Local Backend.
- If
localhost.runis down, you can tryserveo.net:ssh -R 80:localhost:5173 serveo.net - Ensure you accepted the SSH fingerprint (type
yeswhen asked).