How to fix Error: listen EADDRINUSE while using nodejs?

前端 未结 30 3193
执念已碎
执念已碎 2020-11-22 06:44

If I run a server with the port 80, and I try to use xmlHTTPrequest i get this error: Error: listen EADDRINUSE

Why is it problem for nodejs, if I want t

30条回答
  •  伪装坚强ぢ
    2020-11-22 07:12

    I have seen this error before (in node) with http.client, and as I recall, the problem had to do with not initializing the httpClient or setting bad options in the httpClient creation and/or in the url request.

提交回复
热议问题