Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to modify the default IP address (0.0.0.0:8000) ? #374

Closed
xyzdata opened this issue Jun 29, 2017 · 2 comments
Closed

how to modify the default IP address (0.0.0.0:8000) ? #374

xyzdata opened this issue Jun 29, 2017 · 2 comments

Comments

@xyzdata
Copy link

xyzdata commented Jun 29, 2017

0.0.0.0:8000 & not valid context

dial tcp 0.0.0.0:8000: connectex: The requested address is not valid in its context.

@jackple
Copy link
Contributor

jackple commented Jun 29, 2017

参考roadhog主页

@xyzdata
Copy link
Author

xyzdata commented Jun 29, 2017

Got it!

    "scripts": {
        "dev": "set BROWSER=none&&set HOST=0.0.0.0&&roadhog server",
        "lint": "eslint --fix --ext .js src",
        "build": "roadhog build"
    },

roadhog server

https://www.npmjs.com/package/roadhog

sorrycc/roadhog#46

sorrycc/roadhog#16

@superlbr superlbr closed this as completed Mar 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants