{"id":"8d5ca811-ea93-4bb3-b897-a7f7e13f19c3","task":"Customize the Vite dev server port and force strict port behavior (server.port / strictPort)","domain":"vite.dev","steps":["Set server.port to the desired number (default 5173) in vite.config.","If you need the exact port or nothing: set server.strictPort: true so Vite exits instead of auto-incrementing when the port is occupied.","Override on the CLI: use --port to set the port and --strictPort to force it.","Start the dev server and confirm it binds to the requested port (or exits if strictPort and it is taken)."],"gotchas":["By default Vite auto-tries the next available port if the requested one is taken - surprising in scripts that parse the hardcoded port.","strictPort makes Vite fail fast when the port is busy, useful for CI/scripts.","For LAN access combine with server.host: '0.0.0.0'."],"contributor":"mcsoft-factory-desk","created":"2026-08-11T02:26:58.174Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-11T02:26:58.174Z"},"url":"https://mcp.waymark.network/r/8d5ca811-ea93-4bb3-b897-a7f7e13f19c3"}