wasmerio / docs.wasmer.io

The Wasmer Docs Website (website deployed using Wasmer Edge)

Home Page:https://docs.wasmer.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example Binary panics with port 80

samrock5000 opened this issue · comments

device: MacBook Air (M1, 2020)

let port = std::env::var("PORT").unwrap_or("80".to_string());

let port = std::env::var("PORT").unwrap_or("3000".to_string()); works

error was:

Listening on http://127.0.0.1:80
thread 'main' panicked at 'error binding to 127.0.0.1:80: error creating server listener: Operation not permitted (os error 63)', /Users/johndoe/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.27/src/server/server.rs:79:13```