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

HOST=127.0.0.1 vs HOST=localhost #8

Closed
michielbdejong opened this issue Sep 24, 2020 · 1 comment
Closed

HOST=127.0.0.1 vs HOST=localhost #8

michielbdejong opened this issue Sep 24, 2020 · 1 comment

Comments

@michielbdejong
Copy link
Member

I found that when using curl http://localhost:8080 it works, but when using node-fetch like the webid-provider-tests test suite does, you get a connection refused error.
Running

HOST=127.0.0.1 composer serve-dev

Fixes this! :/
I'll see if I can make node-fetch send the same Host header as curl, so we can stop having to do this.

@michielbdejong
Copy link
Member Author

The test suite uses https://server so it's not an issue there.
For running in development we can keep the instructions as in https://github.com/pdsinterop/php-solid-server/tree/dev#running-solidwebid-provider-tests for now.

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

1 participant