加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

flex报错:Security error accessing url 最简单解决办法

发布时间:2020-12-15 04:47:38 所属栏目:百科 来源:网络整理
导读:[RPC Fault faultString="Security error accessing url" faultCode="Channel.Security.Error" faultDetail="Destination: DefaultHTTP"] at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()[E:devhero_privatefram
[RPC Fault faultString="Security error accessing url" faultCode="Channel.Security.Error" faultDetail="Destination: DefaultHTTP"]
at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()[E:devhero_privateframeworksprojectsrpcsrcmxrpcAbstractInvoker.as:345]
?at mx.rpc::Responder/fault()[E:devhero_privateframeworksprojectsrpcsrcmxrpcResponder.as:68]
?at mx.rpc::AsyncRequest/fault()[E:devhero_privateframeworksprojectsrpcsrcmxrpcAsyncRequest.as:113]
?at DirectHTTPMessageResponder/securityErrorHandler()[E:devhero_privateframeworksprojectsrpcsrcmxmessagingchannelsDirectHTTPChannel.as:437]
?at flash.events::EventDispatcher/dispatchEventFunction()
?at flash.events::EventDispatcher/dispatchEvent()
?at flash.net::URLLoader/redirectEvent()



最近研究flex+mysql+php通讯,今天在测试时 遇到个问题就是以上的错误,仔细一看原来是域问题,

难怪配置了PHP默认地址到flex做数据源运行要报错,网上查了下资料有叫做xml的,还有就是些其他的办法,但只是个demo没必要整得那么复杂。

在Flex菜单 运行 | 运行配置 修改URL路径为IP(非127.0.0.1 和localhost)

? ? ? ? ? ? ? ? ? ? ??运行 | 调试配置 修改URL路径为IP(非127.0.0.1 和localhost)

? ? ?来源:http://blog.sina.com.cn/s/blog_735cd12d0100u1fn.html

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读