\nFull log out put from browser console below\n\n### Logs\n\n```shell-script\nThe console log from the browser from starting the dev server\n\nclient:745 WebSocket connection to 'ws://localhost:3000/_nuxt/?token=hbttnGO2POq9' failed: \ncreateConnection @ client:745\nconnect @ client:412\nconnect @ client:751\nconnect @ client:290\nconnect @ client:374\n(anonymous) @ client:823\nclient:755 WebSocket connection to 'ws://localhost:5173/_nuxt/?token=hbttnGO2POq9' failed: \ncreateConnection @ client:755\nconnect @ client:412\nconnect @ client:759\nclient:765 [vite] failed to connect to websocket.\nyour current setup:\n (browser) localhost:3000/_nuxt/ \u003C--[HTTP]--> localhost:5173/_nuxt/ (server)\n (browser) localhost:3000/_nuxt/ \u003C--[WebSocket (failing)]--> localhost:5173/_nuxt/ (server)\nCheck out your Vite / network configuration and https://vite.dev/config/server-options.html#server-hmr .\nconnect @ client:765\nawait in connect\nconnect @ client:290\nconnect @ client:374\n(anonymous) @ client:823\nentry.js:1 \n \n \n GET http://localhost:3000/_nuxt/@fs/home/mozeik/muxt/node_modules/vue/dist/vue.runtime.esm-bundler.js?v=1c201e43 net::ERR_ABORTED 504 (Outdated Request)\nlocalhost/:1 Uncaught (in promise) TypeError: Failed to fetch dynamically imported module: http://localhost:3000/_nuxt/@fs/home/mozeik/muxt/node_modules/nuxt/dist/app/entry.js?v=1c201e43\nentry.js:2 \n \n \n GET http://localhost:3000/_nuxt/@id/virtual:nuxt:%2Fhome%2Fmozeik%2Fmuxt%2F.nuxt%2Ffetch.mjs net::ERR_ABORTED 504 (Outdated Request)\nentry.js:3 \n \n \n GET http://localhost:3000/_nuxt/@id/virtual:nuxt:%2Fhome%2Fmozeik%2Fmuxt%2F.nuxt%2Fglobal-polyfills.mjs net::ERR_ABORTED 504 (Outdated Request)\nentry.js:4 \n \n \n GET http://localhost:3000/_nuxt/@fs/home/mozeik/muxt/node_modules/nuxt/dist/app/nuxt.js?v=1c201e43 net::ERR_ABORTED 504 (Outdated Request)\nentry.js:5 \n \n \n GET http://localhost:3000/_nuxt/@fs/home/mozeik/muxt/node_modules/nuxt/dist/app/composables/error.js?v=1c201e43 net::ERR_ABORTED 504 (Outdated Request)\nentry.js:6 \n \n \n GET http://localhost:3000/_nuxt/@id/virtual:nuxt:%2Fhome%2Fmozeik%2Fmuxt%2F.nuxt%2Fcss.mjs net::ERR_ABORTED 504 (Outdated Request)\nentry.js:7 \n \n \n GET http://localhost:3000/_nuxt/@id/virtual:nuxt:%2Fhome%2Fmozeik%2Fmuxt%2F.nuxt%2Fplugins.client.mjs net::ERR_ABORTED 503 (Service Unavailable)\nentry.js:8 \n \n \n GET http://localhost:3000/_nuxt/@id/virtual:nuxt:%2Fhome%2Fmozeik%2Fmuxt%2F.nuxt%2Froot-component.mjs net::ERR_ABORTED 503 (Service Unavailable)\nentry.js:9 \n \n \n GET http://localhost:3000/_nuxt/@id/virtual:nuxt:%2Fhome%2Fmozeik%2Fmuxt%2F.nuxt%2Fnuxt.config.mjs net::ERR_ABORTED 503 (Service Unavailable)\nfavicon.ico:1 \n \n \n GET http://localhost:3000/favicon.ico 503 (Service Unavailable)\nlocalhost/:1 The resource http://localhost:3000/_nuxt/builds/meta/dev.json was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.\nlocalhost/:1 The resource http://localhost:3000/_nuxt/builds/meta/dev.json was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.\nlocalhost/:1 The resource http://localhost:3000/_nuxt/builds/meta/dev.json was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.\n```",[3225],{"name":3140,"color":3141},32817,"Nuxt dev server issues","2025-07-31T06:58:57Z","https://github.com/nuxt/nuxt/issues/32817",0.64325976,{"description":3232,"labels":3233,"number":3238,"owner":3143,"repository":3143,"state":3162,"title":3239,"updated_at":3240,"url":3241,"score":3242},"### Environment\n\n- Operating System: `Linux`\n- Node Version: `v22.17.1`\n- Nuxt Version: `4.0.0`\n- CLI Version: `3.26.2`\n- Nitro Version: `2.12.0`\n- Package Manager: `npm@10.9.2`\n- Builder: `-`\n- User Config: `compatibilityDate`, `devtools`, `devServer`\n- Runtime Modules: `-`\n- Build Modules: `-`\n\n### Reproduction\n\n1. `npm create nuxt@latest`\n2. Directory `./nuxt-app`\n3. NPM\n4. No modules\n5. Add `devServer: { host: 'app.dev' }` to `nuxt.config.ts`\n6. `npm run dev`\n7. See console output:\n\n```\nNuxt 4.0.0 with Nitro 2.12.0 \n \n ➜ Local: http://localhost:3000/\n ➜ Network: use --host to expose\n\n ➜ DevTools: press Shift + Alt + D in the browser (v2.6.2)\n```\n\n### Describe the bug\n\nPreviously in Nuxt `4.0.0-rc.0` when DevServer host was set the address correctly pointed to `app.dev` since the official release of `4.0.0` it now points to `localhost:3000` it does seem to respect the HTTPs settings though.\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\n\n```",[3234,3235],{"name":3140,"color":3141},{"name":3236,"color":3237},"possible regression","B90A42",32664,"DevServer host set always points to localhost","2025-07-18T17:44:03Z","https://github.com/nuxt/nuxt/issues/32664",0.6480931,{"description":3244,"labels":3245,"number":3248,"owner":3143,"repository":3143,"state":3162,"title":3249,"updated_at":3250,"url":3251,"score":3252},"### Environment\r\n\r\nNuxt.js development server in Kubernetes using Okteto\r\n\r\n### Reproduction\r\n\r\ntry\r\n\r\n```yaml\r\n vite: {\r\n server: {\r\n hmr: {\r\n host: 'localhost',\r\n port: 3001,\r\n },\r\n },\r\n\r\n```\r\nokteto\r\n\r\n```yaml\r\n sync:\r\n - \"./:/app\"\r\n command: [\"yarn\", \"dev\", \"-p\", \"3000\", \"--no-clear\"]\r\n securityContext:\r\n runAsNonRoot: false\r\n allowPrivilegeEscalation: true\r\n forward:\r\n - localPort: 3001\r\n remotePort: 3001\r\n name: app\r\n - localPort: 3000\r\n remotePort: 3000\r\n name: app\r\n - localPort: 8000\r\n remotePort: 80\r\n name: app\r\n```\r\n\r\n### Describe the bug\r\n\r\nI'm having trouble running the Nuxt.js development server in Kubernetes using Okteto. When I try to run the server, I get the following error in browser console:\r\nclient.ts:78 WebSocket connection to 'ws://localhost:3001/_nuxt/' failed: \r\nclient.ts:324 GET http://localhost:3001/_nuxt/ net::ERR_CONNECTION_RESET\r\n\r\nthe application itself is opened locally through Okteto forwarded port 3000 - but HMR not working\r\n\r\n### Additional context\r\n\r\nI've tried setting the HMR port in my nuxt.config.js file, and I've also added port forwarding to my Okteto manifest file, but I'm still getting this error. My Nuxt.js version is 3.3.3.\r\n\r\nCan someone help me figure out what's going on?\r\n\r\n### Logs\r\n\r\n_No response_",[3246,3247],{"name":3156,"color":3157},{"name":3140,"color":3141},20663,"Issue with running Nuxt.js development server in Kubernetes using Okteto","2023-05-04T15:36:14Z","https://github.com/nuxt/nuxt/issues/20663",0.64934933,["Reactive",3254],{},["Set"],["ShallowReactive",3257],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$f-lLfjlmTh1PIa0eDGVRSiKHkhSGBXMSMZ-mKXCxu6ZY":-1},"/nuxt/nuxt/15371"]