Changing Next.js port configuration?

I've configured a Next.js application on my VPS, and currently, when I launch it with yarn start, it initiates on port 3040. I'm interested in learning how to adjust the configuration to commence on ports 80 and 443 instead. Your guidance on this matter would be greatly appreciated.

Note: I'm utilizing koows the LiteSpeed web server.

Parents Reply Children
No Data