首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > 软件开发 >

安装openfire遇到的两个有关问题

2012-06-30 
安装openfire遇到的两个问题1 填写数据库连接信息之后,日志出现java.net.ConnectException: connection re

安装openfire遇到的两个问题

1 填写数据库连接信息之后,日志出现java.net.ConnectException: connection refused错误,检查了防火墙配置之后都没有发现问题,最后在mysql文档 http://dev.mysql.com/doc/refman/5.1/en/can-not-connect-to-server.html? 里找到

写道If the server was started with --bind-address=127.0.0.1, it will listen for TCP/IP connections only locally on the loopback interface and will not accept remote connections.

?于是在my.cnf里注释掉里 bind-address . 接着telnet localhost 3306 成功

?

2 填写完管理员密码后,点击继续,出现HTTP 500错误,google后,把 /etc/hosts里的127.0.0.1 localhost 改成127.0.0.1 localhost example.com 之后顺利解决问题.

?

?

?

热点排行