I launch my Crystal Webapp, creating it, and then run the executable. However, it always listens on port 3000.
How do I create / run Crystal Webapps while listening to 80 and 443?
I also use Kemal. Here is an example application.
require "kemal"
get "/" do
"Hello World!"
end
Kemal.run
Building:
crystal build src/myapp.cr
Duration:
./myapp
source
share