Tag

Port Detection

0 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 4, 2025 · Frontend Development

Vite Port Detection Issue Caused by Host Configuration in Micro‑Frontend Projects

During development of a micro‑frontend project using wujie, the child app required port 5173 for communication, but newly created Vite React‑TS projects failed to auto‑increment the port, revealing that Vite’s port‑detection logic also depends on the host setting, not just the port number.

Frontend DevelopmentHost ConfigurationPort Detection
0 likes · 4 min read
Vite Port Detection Issue Caused by Host Configuration in Micro‑Frontend Projects