Answer the question
In order to leave comments, you need to log in
Why can't several devices connect to the local Dev server?
I am writing an application in Vue-cli.
Vue-cli, for development, runs a server that is accessible via a link like http://***.***.**.***:8080/ on the local network.
Everything works well. Until the moment when only my computer connects. If I try to log in from a phone, another computer, tablet, then, with a high probability, instead of the application, I see a failed request with the ERR_CONNECTION_REFUSED code:
Unable to access site
The site http://***.***.**.*** cannot connect.
ERR_CONNECTION_REFUSED
Answer the question
In order to leave comments, you need to log in
And if you add it to vue.config.js, does it work?
devServer: {
host: '0.0.0.0',
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question