yewstack / yew

Rust / Wasm framework for creating reliable and efficient web applications

Home Page:https://yew.rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Port issue

vitezprchal opened this issue · comments

This is about:

  • A typo
  • Innaccurate/misleading documentation (e.g. technically incorrect advice)
  • Undocumented code
  • Outdated documentation
  • Other

Problem
https://yew.rs/docs/getting-started/build-a-sample-app
In the documentation that describes the configuration file for the server, it mentions port 8000. However, on Windows, port like 8000 cause conflicts.

[serve]
address = "127.0.0.1"
port = 3000

It can cause problems on Linux or Mac systems too if you something actively running that uses port 8000. I might be wrong but by default on windows the port should not be actively used.

However maybe a little notice in the Info box that port 8000 is commonly used and might need to be changing could clear up any issues related to that.