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

来源:互联网 发布:手机时间软件 编辑:程序博客网 时间:2024/05/16 11:02

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。

原创粉丝点击