XMLHttp Request is not working.

XMLHttpRequest cannot load https://infinityfree.net/errors/403. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://rrttyyxz.rf.gd’ is therefore not allowed access. The response had HTTP status code 403.
I have searched on google…its the error which is caused due to accessing data from outer url but i am accessing it from my own domain.PLEASE HELP ME OUT OF THIS.ITS REALLY URGENT.
@Admin help me here please sir.

May this be the issue you’re seeing? https://infinityfree.net/support/javascript-error-using-api-or-mobile-android-app

No sir i am not using any api or mobile android app.It is just a XMLHttpRequest object to receive the data from a php file(that in turn from a database).I could show you that part of my code if you like.
@Admin

@savatar101 said:
No sir i am not using any api or mobile android app.It is just a XMLHttpRequest object to receive the data from a php file(that in turn from a database).I could show you that part of my code if you like.
@Admin

I don’t think I’ll need to see the code, however a URL to a page where the AJAX request is created would help a lot in figuring out why said request doesn’t work.

If this was the path of my main page http://rrttyyxz.rf.gd/comparito/home.php then the url of the page where the request is made would be http://rrttyyxz.rf.gd/comparito/chatonline.php.
req.open(‘POST’,“chatonline.php”,true); this is the exact code for url

@Admin

You cannot host chat scripts in InfinityFree. That’s the issue @savatar101

ok so you are saying that i could not get the response from an ajax request through a database.
@MoonlightCapital

Yes. I am saying exactly that.

@savatar101

I dont think thats the case or else Admin would have told me and there is no point for it to not work.So your solution or suggestion is completely wrong.
I seek help from you only… @Admin PLEASE HELP

@Admin ???

Just FYI: I’m not a dog who comes running whenever his name is called.

But @MoonlightCapital already gave the answer: the request is blocked because it looks like a chat script.

Get the fuck off man @Admin @MoonlightCapital