how to solving problem Control-Allow-Origin in #angularjs

Either change the port in your .net API settings file, or change the port in the path where you compose your request (the Angular app), as the message states, you do have a CORS policy in place, it just doesn't match the request path. The ports are different. Make sure to also match the protocol, http vs https may also invalidate the request and, of course, you should use the secure protocol.