I've been running my Crystal webapp by building it, and then running the executable. However, it always listens on port 3000.
How do I build/run Crystal webapps listening on 80 and 443?
I'm using Kemal as well. Here is my sample app.
require "kemal"
get "/" do
"Hello World!"
end
Kemal.run
Building:
crystal build src/myapp.cr
Running:
./myapp