Of course, you can redirect your local machine to DT in SaaS.
Did you put a script with the address to Dynatrace in the header?
In general, I have not encountered a situation where traffic is redirected to localhost:9000. I suspect a placement error in the script or perhaps a mechanism on the WWW that substitutes this (I have encountered such a situation with F5).
Please read the examples you can find here:
In the Dynatrace menu, go to Settings > Web and mobile monitoring > Advanced setup.
Under JavaScript tag API, select Download documentation and samples.
Access to XMLHttpRequest at ‘file:///C:/rb_bf33897nam?type=js3&flavor…m172lcx&end=1’ from origin ‘null’ has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, isolated-app, chrome-extension, chrome, https, chrome-untrusted.
Do you think it can have something with one of the following configurations:
<script type=“text/javascript” src=“Dynatrace | Observability built for the age of AI” data-dtconfig=“app={id}|cors=1|featureHash=ICA2NVfqru|vcv=2|reportUrl=https://{id}.bf.dynatrace.com/bf|rdnt=1|uxrgce=1|bp=3|cuc={id}|mel=100000|dpvc=1|ssv=4|lastModification={id}|dtVersion=10259230221142207|tp=500,50,0,1|agentUri=Dynatrace | Observability built for the age of AI” crossorigin=“anonymous”></script>