ntuee-webprogramming / hack3-QAs

0 stars 0 forks source link

port5000 #40

Open forbes110 opened 2 years ago

forbes110 commented 2 years ago

throw er; // Unhandled 'error' event ^

Error: listen EADDRINUSE: address already in use :::5000

code: 'EADDRINUSE', errno: -4091, syscall: 'listen', address: '::', port: 5000 教授不好意思 不斷出現這個問題且之前的解法無法解決

ntuee-webprogramming commented 2 years ago

請參考 #4

forbes110 commented 2 years ago

但是我不是mac 用那個方法解決不了

ntuee-webprogramming commented 2 years ago

那就是你真的有東西跑在 5000,請你把他關掉

forbes110 commented 2 years ago

但是我全部網頁都關掉了結果還是相同

ntuee-webprogramming commented 2 years ago

Windows的話請參考這個方法強制砍掉那個process:https://www.runoob.com/w3cnote/windows-finds-port-usage.html