The local area network cannot access the site built by Nuxt

problem description

create an instance using Nuxt.js.
Environment

Ubuntu18.10
Node v11.0
yarn v1.12.3

yarn build
yarn start

after starting the server, it can only be accessed on localhost:3000.
cannot be accessed through other machines in the same network, prompting "our connection request has been rejected"

the environmental background of the problems and what methods you have tried

according to the method of modifying vue.js on the Internet, no response config/index.js was found
add-- host 0.0.0.0 after start, failed

the answer has been found. Please check the first floor

Dec.27,2021

nuxt-- hostname 0.0.0.0-- port 3333

Menu