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

Register fails. 0: cURL error 7: Failed to connect to localhost port 80: #40

Closed
DuudeXX8 opened this issue Sep 6, 2019 · 4 comments
Closed

Comments

@DuudeXX8
Copy link

DuudeXX8 commented Sep 6, 2019

I found this question with same error like in my case but you just close this issue without solving the problem so I open new one.

When I register page redirect's me to the Home page and set the token in localstorage null.

I'll get this error in console
http://localhost:8000/api/v1/auth/login 401 (Unauthorized)

After if I change page again I redirecting to the login page.And then if I sign in I get this error bottom of the input.
0: cURL error 7: Failed to connect to localhost port 80: Connection refused (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

my APP_URL

APP_URL=http://localhost:8000

@moeen-basra
Copy link
Owner

pull latest code and let me know if it works for you

@DuudeXX8
Copy link
Author

@moeen-basra Right now it's not even register or login I click the login or register button the request is going to server but without any respond from server. =(

@moeen-basra
Copy link
Owner

I updated the readme and also added the docker you can try either way.

@DuudeXX8
Copy link
Author

@moeen-basra Yup that's working thank's a lot.

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

2 participants