notes.dt.in.th

Port number randomizer

Need a random port number for your next project? You can get one here.

Your randomized port number is…

Configuration cheat sheet

  • Next.js

      "dev": "next dev -p ${PORT:-…}",
  • Vite

      "dev": "vite --port ${PORT:-…}",
    "preview": "vite preview --port ${PORT:-…}",