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

Can not access from another VM machine #1

Open
mehrdadam opened this issue Sep 23, 2023 · 0 comments
Open

Can not access from another VM machine #1

mehrdadam opened this issue Sep 23, 2023 · 0 comments

Comments

@mehrdadam
Copy link

mehrdadam commented Sep 23, 2023

Hi,
I ran the app on docker on the ubuntu machine and I access it using the kali machine. But when I check the different pages, the following error is displayed in the console (of course, the error is not displayed on the local machine):
Access to XMLHttpRequest at 'http://localhost:3001/api/users' from origin 'http://192.168.11.138:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Do you have any ideas?

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