PatrickJS-starter icon indicating copy to clipboard operation
PatrickJS-starter copied to clipboard

When I am trying to run npm run server:dev --host abc.com, it is not loading correctly and getting Invalid host address

Open randeepnathtr opened this issue 9 years ago • 1 comments

We have to connect remote machine to get API access, but unable to connect it via --host Tried to include angular/cli but it is not working. Could you please help on this

randeepnathtr avatar Oct 27 '17 13:10 randeepnathtr

Hi @randeepnathtr . You're serving your api through http right? Why are you trying to use "npm run" to connect on that API? It's not easier to do a simple http call?

gabrielghacc avatar Oct 29 '17 13:10 gabrielghacc