Static GitHub Issues

[3308] cannot run wget http://localhost:3000 inside a docker container

prev: when use serverMiddleware in nuxt.config.js,the proxy always timeout
next: Error page rendering before redirect in middleware (nuxt.config.js +layout + page).

Hi ,

I run nuxt inside a container, but when I login to the container and tried below command, I got "error getting response: Address not available".

I tried http://127.0.0.1:3000, http://0.0.0.0:3000, and the service name http://app:3000, and got the same error.

node:/app$ wget http://localhost:3000 Connecting to localhost:3000 (127.0.0.1:3000) wget: error getting response: Address not available

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c7032">#c7032</a>)</em></sub></div>