Setting site port on account with multiple projects

Hello,
I have multiple projects on my account, 1st one works fine on port 3000
I set the port to 3001 in the package.json file, on the second and I’m getting 404 NOT FOUND error

I don’t see a way to set the port in the project settings, the site is HyenaPet.com

	"scripts": {
		"dev": "next dev -p 3001",
		"build": "next build",
		"start": "next start -p 3001",
		"lint": "next lint"
	},

Hi, @xfutek! Welcome to the Vercel Community. :smile:

It’s important to note that the port settings in your package.json file are primarily used for local development and don’t directly affect how your application is deployed on Vercel .

When you deploy a Next.js application to Vercel, it automatically handles the port configuration for you. Vercel uses its own infrastructure to manage incoming requests and doesn’t rely on the port specified in your package.json file.

Is your issue related to a Vercel deployment or local development?

For what it’s worth, I can see HyenaPet.com live.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.