Angular 在IE上运行时出现网络错误0x7b

Angular 在IE上运行时出现网络错误0x7b,angular,internet-explorer,xmlhttprequest,Angular,Internet Explorer,Xmlhttprequest,我用的是IE11。 我的angular应用程序在Chrome和Firefox上运行 当我在我的应用程序上触发Http请求时,我得到了这个错误 SCRIPT7002: XMLHttpRequest: Network Error 0x7b, The filename, directory name, or volume label syntax is incorrect. file : search http://localhost:4200/search是实际路径 当我点击 file:searc

我用的是IE11。 我的angular应用程序在Chrome和Firefox上运行

当我在我的应用程序上触发Http请求时,我得到了这个错误

SCRIPT7002: XMLHttpRequest: Network Error 0x7b, The filename, directory name, or volume label syntax is incorrect.
file : search
http://localhost:4200/search
是实际路径

当我点击
file:search
I在调试器中获取此消息
打开时出错http://localhost:4200/search (触发HTTP服务时显示此消息)

我在index.html上添加了一些
meta
,但没有结果

<!DOCTYPE  html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=Edge">
...

...

我找到了解决办法

在我的代码中,我以这种方式调用服务器ip
http:///IP.com
(3个斜杠)

将其更改为
http://IP.com
解决了该错误