address already in use :::8080 but port isn't being used by any process

前端 未结 0 1158
天命终不由人
天命终不由人 2021-02-05 20:50

I ran this code:



var http = require(\'http\');

http.createServer(function (req, res) {
    res.writeHead(200, {\'Content-Type\': \'text/plain\'});
    res.end(         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题