错误#2031:套接字错误。网址:127.0.0.1错误、网址

2023-09-08 12:21:11 作者:日记局外人

让我玩弄一些exmaples附带TUIO AS3库和我收到的推出一个错误,我以前从来没有遇到过,不知道如何解决。

这没有错误编译但在推出我得到的输出:

事件。ioErrorHandler:IOErrorEvent TYPE =ioError在泡沫=假可取消=假的EventPhase = 2文本=错误#2031:套接字错误网址:127.0.0.1]

没有人知道如何解决这一问题?

解决方案   

当错误导致输入或输出操作失败,将调度IOErrorEvent对象。

所以我猜要么你没有配置本地主机或SWF是与本地回放安全性设置编译为只访问本地文件。

最有可能的编译环境。

So i am playing around with some exmaples that come with the tuio as3 library and i am getting an error on launch that i have never encountered before and don't know how to fix.

成功启动APMserv5.2.6后,链接 127.0.0.1 时出现如下错误,重装了几次软件,还是不行,这是什么问题啊

it compiles with no errors however on launch i get this output:

ioErrorHandler: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2031: Socket Error. URL: 127.0.0.1"]

does anyone know how to fix this?

解决方案

An IOErrorEvent object is dispatched when an error causes input or output operations to fail.

So I'm guessing either you have no localhost configured or your SWF was compiled with the "Local Playback Security" set to "Access Local Files Only".

Most likely the compile setting.