Node.js unhandled 'error' event

后端 未结 6 1895
广开言路
广开言路 2021-02-02 08:14

I have written a simple code and save it in file try.js .

var http = require(\'http\');
var makeRequest = function(message) {
  var options = {
    host: \'loca         


        
6条回答
  •  无人共我
    2021-02-02 08:40

    A different process is already running in the same port. Either kill the running process or change the port number in the current code. Your issue will be fixed!

提交回复
热议问题