yewstack / yew

Rust / Wasm framework for creating reliable and efficient web applications
https://yew.rs
Apache License 2.0
30.23k stars 1.41k forks source link

Port issue #3653

Open vitezprchal opened 2 months ago

vitezprchal commented 2 months ago

This is about:

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
De-Wohli commented 2 months ago

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.