Uploadify上传失败,提示 2156 SecurityError Error #2156 null的解决办法

原文:https://www.cnblogs.com/yuejin/p/3739329.html

在使用Uploadify上传文件时,提示-Failed,上传不了文件
于是跟踪onUploadError事件,发现
errorMsg:2156 SecurityError Error #2156 null
errorCode:250

Flash Professional Help 
URL requests to certain ports throw security errors in Adobe Flash Player 9.0.115.0 and higher
原来是由于falsh的安全错误,处于安全考虑屏蔽了一些端口,使用这些端口绑定的网站暂不能使用flash组件上传文件
具体哪些是哪些端口,请参见:http://helpx.adobe.com/flash/kb/url-requests-certain-ports-throw.html

解决办法:绑定网站端口时,避开这些端口即可正常使用...
1 tcpmux
7 echo
9 discard
11 systat
13 daytime
15 netstat
17 qotd
19 chargen
20 ftp data
21 ftp control
22 ssh
23 telnet
25 smtp
37 time
42 name
43 nicname
53 domain
77 priv-rjs
79 finger
87 ttylink
95 supdup
101 hostriame
102 iso-tsap
103 gppitnp
104 acr-nema
109 POP2
110 POP3
111 sunrpc
113 auth
115 sftp
117 uucp-path
119 NNTP
123 NTP
135 loc-srv / epmap
139 netbios
143 IMAP2
179 BGP
389 LDAP
465 SMTP+SSL
512 print / exec
513 login
514 shell
515 printer
526 tempo
530 courier
531 chat
532 netnews
540 uucp
556 remotefs
563 NNTP+SSL
587 submission
601 syslog
636 LDAP+SSL
993 IMAP+SSL
995 POP3+SSL
2049 nfs
4045 lockd
6000 X11

原文地址:https://www.cnblogs.com/yingcheng/p/11662782.html