Written a demo (the hello world part of the node official website), and it runs without problems on the server. Curl localhost can also return, but it cannot be accessed from the external network
const http = require('http')
http.createServer(function(req,res){
res.writeHead(200,{'Content-Type':'text/plain'})
res.end('hello world')
}).listen(8082)
console.log('server running on http://localhost:8082')
Supplement: The firewall is not turned on
Have the firewall and security group released the ports?
Do you need to open the corresponding port for iptables? I guessed