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

Remote access issue #907

Closed
lastlaugher opened this issue Dec 5, 2019 · 3 comments
Closed

Remote access issue #907

lastlaugher opened this issue Dec 5, 2019 · 3 comments

Comments

@lastlaugher
Copy link

Hi CVAT team,

I installed CVAT and set " ALLOWED_HOSTS: '*' " to access from remote client. The login window succeeds to show but the next step fails.

Chrome debug console says like followings:
GET http://localhost:8080/api/v1/users/self xhr.js:160
net::ERR_CONNECTION_REFUSED
GET http://localhost:8080/api/v1/auth/login xhr.js:160
net::ERR_CONNECTION_REFUSED

It shouldn't connect to the localhost but remote location.

Could you help me to resolve this issue?

@lastlaugher
Copy link
Author

I resolved myself. I updated UI_HOST and REACT_APP_API_HOST and then build again. Then it works. Sorry for bothering you guys.

@chengzhao000
Copy link

I resolved myself. I updated UI_HOST and REACT_APP_API_HOST and then build again. Then it works. Sorry for bothering you guys.

can you tell me how to update UI_HOST and REACT_APP_API_HOST? thanks.

@lastlaugher
Copy link
Author

I resolved myself. I updated UI_HOST and REACT_APP_API_HOST and then build again. Then it works. Sorry for bothering you guys.

can you tell me how to update UI_HOST and REACT_APP_API_HOST? thanks.

I updated docker-compose.yml, which I set the variables with the hostname of the machine which cvat is installed. If the hostname is not added in DNS, you should set IP address.

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