Next.js Discord

Discord Forum

Can we run next app without port?

Unanswered
Cuvier’s Dwarf Caiman posted this in #help-forum
Open in Discord
Cuvier’s Dwarf CaimanOP
I want to run app on http://localhost but all the js/css and static images path can be with port http://localhost:3000.

4 Replies

PORT=80 npm run dev
but fyi "no port" just means 80 or 443 (for https)
Cuvier’s Dwarf CaimanOP
Thanks for the quick response