当我启动节点服务器时,它启动了,然后连接被拒绝, 并且如果已连接但在我使用浏览器访问时仍然无法使用
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE 139.59.16.149:3001
at Object._errnoException (util.js:1022:11)
at _exceptionWithHostPort (util.js:1044:20)
at Server.setupListenHandle [as _listen2] (net.js:1367:14)
at listenInCluster (net.js:1408:12)
at doListen (net.js:1517:7)
at _combinedTickCallback (internal/process/next_tick.js:141:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
at Function.Module.runMain (module.js:695:11)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3
更改端口后
events.js:183
throw er; // Unhandled 'error' event
^
Error: connect ECONNREFUSED 139.59.16.149:3004
at Object._errnoException (util.js:1022:11)
at _exceptionWithHostPort (util.js:1044:20)