Iam trying to get a link from the server using url.But Iam getting an error as:
XMLHttpRequest cannot load http://192.168.2.64:4000/link. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:36148' is therefore not allowed access.
How can I get the link from the server using javascript?How can I avoid this error?