Origin is not allowed by Access-Control-Allow-Origin.

Discussion created by joseshirley84 on Nov 7, 2013
Latest reply on Nov 11, 2013 by DSwingley-esristaff
I'm using rest service in an application.But it shows the below error in the console.
XMLHttpRequest cannot load Origin http://localhost:8080 is not allowed by A
I read various post but couldn't find a solution.
Can you provide a solution to fix this error?