L
L
lem_prod2017-06-02 18:12:02
JavaScript
lem_prod, 2017-06-02 18:12:02

Run Node server on host not localhost?

I work with vue webpack template
where express is used for the dev server, I want to run it on '192.168.99.100' so that there is one host with docker, but different ports.
But when specifying any host other than localhost , it throws out "Error: listen EADDRNOTAVAIL"
I don't understand what the problem is.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question