7
Answers

Block by CORS POLICY

Mark Tabor

Mark Tabor

3y
1.7k
1
Hi i have .net mvc application I deploy it on iss when i run it from iis it works fine but when I access the application from other machines using IP i got below error message in console 
 
Access to XMLHttpRequest at 'http://localhost/EvaluationSystem/Students/GetList' from origin 'http://58.65.169.181' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
 
basically i am calling my method in razor view with http://localhost/EvaluationSystem/Student/GETLIST 
Answers (7)