免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2845 | 回复: 0
打印 上一主题 下一主题

[Web] 普通用户启动 Flash 843端口 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2015-01-08 14:53 |只看该作者 |倒序浏览
本帖最后由 tzjz_8 于 2015-01-07 22:53 编辑

各位大牛好:
         请教关于“普通用户启动 Flash 843端口”问题:
                1)使用authbind服务过渡小于1024的端口给普通用户使用,配置连接:blog.sina.com.cn/s/blog_66a1a5d50102v3an.html;
                2)在启动80、443之类的服务没有问题、和/etc/services没关系;
                3)但在启动Flash 843时有问题(843无人占用、尝试修改为邻近端口844之类的 也不行、root启动没有问题;但修改为上千大端口启动正常)、报错如下:
                4)authbind源码文件并无明 authbind.sourcearchive.com/documentation/1.2.0/authbind_8c_source.html



Exception in thread "main" org.jboss.netty.channel.ChannelException: Failed to bind to: 0.0.0.0/0.0.0.0:843
        at org.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:272)
        at com.domain.abc.flashsecurityserver.FlashSecurityServer.start(FlashSecurityServer.java:54)
        at com.domain.abc.common.Configure.runFlashAuth(Configure.java:411)
        at com.domain.abc.common.Configure.runCRSx(Configure.java:406)
        at com.domain.abc.common.Configure.loadandrun(Configure.java:363)
        at com.domain.abc.Main.main(Main.java:50)
Caused by: java.net.SocketException: Operation not permitted
        at sun.nio.ch.Net.bind(Native Method)
        at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:126)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
        at org.jboss.netty.channel.socket.nio.NioServerBoss$RegisterTask.run(NioServerBoss.java:193)
        at org.jboss.netty.channel.socket.nio.AbstractNioSelector.processTaskQueue(AbstractNioSelector.java:366)
        at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:290)
        at org.jboss.netty.channel.socket.nio.NioServerBoss.run(NioServerBoss.java:42)
        at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:10
        at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:90
        at java.lang.Thread.run(Thread.java:662)
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP