Skip to content

Instantly share code, notes, and snippets.

@up1
Created September 5, 2026 09:10
Show Gist options
  • Select an option

  • Save up1/c83df63a6fd69e9996a1f8a3db53e00e to your computer and use it in GitHub Desktop.

Select an option

Save up1/c83df63a6fd69e9996a1f8a3db53e00e to your computer and use it in GitHub Desktop.
Hello Portless
# ติดตั้งแบบ global
$npm install -g portless
# ทำการ start nodejs service แยกตาม port
$PORT=3001 portless web01 node server.js
portless
-- Proxy is running
-- web01.localhost (auto-resolves to 127.0.0.1)
-- Using port 4620
-> https://web01.localhost
Running: PORT=4620 HOST=127.0.0.1 PORTLESS_URL=https://web01.localhost NODE_EXTRA_CA_CERTS="/User/demo/.portless/ca.pem" node server.js
Server is running on http://localhost:4620
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment