Home  >  Q&A  >  body text

node.js - bash starts Node service localhost cannot be accessed

Successfully started two node services at the same time, the same port, the same 4000


Cannot access localhost:4000, but bash can access the port under win10

Thank you

三叔三叔2689 days ago909

reply all(1)I'll reply

  • 代言

    代言2017-06-08 11:04:14

    1. Check whether the service starts normally?
    2. Check the listening status of the port: netstat -anp|grep 4000

    reply
    0
  • Cancelreply