To run https: https://dev.to/nakib/using-https-on-next-js-local-development-server-bcd install mkcert Run mkcert -install Run mkcert localhost