Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

Possibly change default host to 0.0.0.0 #21

Open
ljmerza opened this issue Feb 13, 2019 · 1 comment
Open

Possibly change default host to 0.0.0.0 #21

ljmerza opened this issue Feb 13, 2019 · 1 comment

Comments

@ljmerza
Copy link
Contributor

ljmerza commented Feb 13, 2019

Is your feature request related to a problem? Please describe.
When using dev-server cannot access from other clients on the lan

Describe the solution you'd like
setting host to 0.0.0.0 will allow other clients on the lan to access the dev-server via the host client's lan ip address but will kill auto opening because it will auto open to 0.0.0.0:3000

@hulloanson
Copy link

I think you can just override the HOST environment variable:

HOST=0.0.0.0 npm run start:dev

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants