Error: listen eaddnotavail: address not available

preface:

Build a distributed project, find a front-end project of Vue framework to do interface test, use nodejs to report error: listen eaddnotavail: address not available.

Problem analysis:

After the above error, there are still some error statements below. Here I show that IP and port number cannot be monitored.

Problem solving:

Modify the conf file under the Vue project, that is, under the configuration file, connect the IP and port of the background and the IP and port of the host. Configure IP to cost machine or IP address needed by the project, and solve the problem.

Read More: