red5,或者说是开源软件之痛。

Red5 装好了,也能启动了,但是却访问不了(http://server_domain:5080/ or http://server_ip:5080),痛苦中;

 

===========
OS: CentOS Linux 5.4
==========
netstat -lnp | grep java
tcp        0      0 0.0.0.0:59083               0.0.0.0:*                   LISTEN      25907/java         
tcp        0      0 0.0.0.0:1935                0.0.0.0:*                   LISTEN      25907/java         
tcp        0      0 0.0.0.0:9999                0.0.0.0:*                   LISTEN      25907/java         
tcp        0      0 0.0.0.0:8787                0.0.0.0:*                   LISTEN      23373/java         
tcp        0      0 0.0.0.0:5080                0.0.0.0:*                   LISTEN      25907/java         
tcp        0      0 0.0.0.0:8443                0.0.0.0:*                   LISTEN      25907/java

=========

 

安装参考:

http://www.sohailriaz.com/how-to-install-red5-server-on-centos-53/comment-page-7/#comment-1108

 

 

/******* 解决方法 *********/

原来是还需要打开1935,9999,5857,5080这4个端口,发现如果真有这样的技术问题,外国佬那也去问问好了。听说外国佬的耐心很足,不像我等匆匆忙忙,又要急着干活去了:

 

附:

=====================

But to help you, read this or follow the link.

http://wiki.centos.org/HowTos/Network/IPTables

You must edit IPtables in your control panel. Eg, through WHM, Pleask, Webadmin.

If you are not using a control panel, you must edit them manually. Follow the above link to explain how to do it or try the following,

vi /etc/sysconfig/iptables

Add the following lines:

-A RH-Firewall-1-INPUT -m state –state NEW -m tcp -p tcp –dport 5080 -j ACCEPT

-A RH-Firewall-1-INPUT -m state –state NEW -m tcp -p tcp –dport 1935 -j ACCEPT

Then save the file (press ESC and then type :wq)

Then,

/etc/init.d/iptables restart

DONE!

NOTE!!!!
 the line starts with “-A” and ends with “ACCEPT”

========================

 

最后又遇到别的问题,因急着需要,所以放弃了red5,而选用了FMS。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值