我是用weblogic想把端口改为80,但是系统提示我不能绑定80端口,出现一下显示:
<2010-1-25 下午03时59分59秒 CST> <Emergency> <WebLogicServer> <BEA-000351> <Unable to create a server socket on Channel Default for port: 80. java.net.BindException: Permission denied Perhaps another process is using port 80.>
<2010-1-25 下午03时59分59秒 CST> <Emergency> <Security> <BEA-090085> <Server failed to bind to the configured port. The port may already be used by another process.>
<2010-1-25 下午03时59分59秒 CST> <Emergency> <WebLogicServer> <BEA-000342> <Unable to initialize the server: Server failed to bind to the requested port. See preceeding log message for details.>
***************************************************************************
The WebLogic Server did not start up properly.
Exception raised: 'weblogic.server.ServerLifecycleException: Server failed to bind to the requested port. See preceeding log message for details.'
Reason: Server failed to bind to the requested port. See preceeding log message for details.
***************************************************************************
[weblogic@localhost mydomain]$ netstat -an |grep 80
tcp 0 0 ::ffff:76.16.17.79:32857 ::ffff:76.16.17.80:1521 TIME_WAIT
我检查了一下并没有看到80端口,后来发现81、79这样的小端口都无法使用,我感觉好像是linux不允许我的weblogic用户绑定1024位以下的端口,我想应该是只有root权限的用户才能绑定吧,所以我把weblogic用户里添加了root群组,但是还是无法绑定80端口,请大家帮忙看看这是为什么呢?应该如何解决呢?
谢谢大家了先~
------解决方案--------------------------------------------------------
明显还是被占用了,否则你用netstat -an |grep 80查实没有显示的,你明白吗?呵呵!