The project is only functional on localhost and does not work with Astrill VPN.
Opened this issue · 1 comments
PaladinDotEth commented
Preliminary Checks
- This issue is not a duplicate. Before opening a new issue, please search existing issues: https://github.com/gatsbyjs/gatsby/issues
- This issue is not a question, feature request, RFC, or anything other than a bug report directly related to Gatsby. Please post those things in GitHub Discussions: https://github.com/gatsbyjs/gatsby/discussions
Description
I found a portfolio website template built with Gatsby that works perfectly on localhost; however, it doesn't function with Astrill VPN. Is Gatsby incompatible with VPN services?
Reproduction Link
https://github.com/bchiang7/v4
Steps to Reproduce
- Download the source code from GitHub
- Install node modules and Astrill VPN
- Turn on VPN and Run the project
Expected Result
The website should load at localhost:8000
Actual Result
Localhost refused to connect
Environment
System: Windows 11
Browsers: Chrome
Config Flags
No response
hallman76 commented
This sounds like an issue with your environment, not with the gatsby framework.
You might try:
gatsby develop --help
# or
gatsby serve --help
That will show you the various options you can specify. It sounds like you want to specify some other host name other than localhost:
-H, --host Set host. Defaults to localhost [string] [default: "localhost"]