Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How to set production port? - Nuxt
N
Nuxt
•
9mo ago
•
15 replies
Thick Black W
How to set production port?
npm run build always builds on default port 3000 despite setting the PORT
.env variable
, and even getting help from chatgpt that said to set it in runtime config
runtimeConfig: {
public: {
port: process.env.PORT || 3300
}
},
runtimeConfig: {
public: {
port: process.env.PORT || 3300
}
},
Nuxt
Join
Nuxt Community Chat Server
31,686
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Production Port in Pterodactyl [ SOLVED ]
N
Nuxt / ❓・help
17mo ago
How to set basePath to relative ?
N
Nuxt / ❓・help
14mo ago
How to set css variables
N
Nuxt / ❓・help
12mo ago