Opening port 5080 and 1935 for flash/red5

Discussion in 'Installation/Configuration' started by terryoleary1981, Aug 12, 2008.

  1. terryoleary1981

    terryoleary1981 New Member

    hi

    I'm trying to figure out how to open port 5080 and 1935 so i can use my red5 installation. I've opened the ports up on my router to direct calls to my webserver but they appear to stil be blocked. I've not opened these ports on the server and when i do a ISPConfig portscan (the one built in) the ports arent coming back opened. The linux firewall is disabled at the moment and i tried to open the ports but no luck. I've include the output to netstat -tap

    Code:
    [root@mail sbin]# netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
    tcp        0      0 localhost:2208              *:*                         LISTEN      1886/hpiod
    tcp        0      0 *:38980                     *:*                         LISTEN      1679/rpc.statd
    tcp        0      0 *:5801                      *:*                         LISTEN      2308/Xvnc
    tcp        0      0 *:mysql                     *:*                         LISTEN      2008/mysqld
    tcp        0      0 *:5901                      *:*                         LISTEN      2308/Xvnc
    tcp        0      0 *:sunrpc                    *:*                         LISTEN      1658/rpcbind
    tcp        0      0 *:hosts2-ns                 *:*                         LISTEN      2638/ispconfig_http
    tcp        0      0 *:6001                      *:*                         LISTEN      2308/Xvnc
    tcp        0      0 localhost.localdomai:domain *:*                         LISTEN      2810/named
    tcp        0      0 localhost:domain            *:*                         LISTEN      2810/named
    tcp        0      0 localhost:ipp               *:*                         LISTEN      1903/cupsd
    tcp        0      0 *:smtp                      *:*                         LISTEN      28038/master
    tcp        0      0 localhost:rndc              *:*                         LISTEN      2810/named
    tcp        0      0 localhost:2207              *:*                         LISTEN      1891/python
    tcp        0      0 localhost:34217             localhost:pop3s             TIME_WAIT   -
    tcp        0      0 localhost.localdo:hosts2-ns 135.196.89.159:48554        ESTABLISHED 2646/ispconfig_http
    tcp        0      0 localhost:57654             localhost:rndc              TIME_WAIT   -
    tcp        0      0 localhost.localdo:hosts2-ns 135.196.89.159:48553        ESTABLISHED 2999/ispconfig_http
    tcp        0      0 localhost:47309             localhost:ipp               TIME_WAIT   -
    tcp        0      0 localhost:41462             localhost:https             TIME_WAIT   -
    tcp        0      0 localhost:43437             localhost:domain            TIME_WAIT   -
    tcp        0      0 localhost:58950             localhost:imaps             TIME_WAIT   -
    tcp        0      0 localhost:57022             localhost:http              TIME_WAIT   -
    tcp        0      0 localhost:38996             localhost:hosts2-ns         TIME_WAIT   -
    tcp        0      0 localhost:56735             localhost:2207              TIME_WAIT   -
    tcp        0      0 localhost:44762             localhost:sunrpc            TIME_WAIT   -
    tcp        0      0 localhost:55089             localhost:2208              TIME_WAIT   -
    tcp        0      0 *:imaps                     *:*                         LISTEN      2038/dovecot
    tcp        0      0 *:pop3s                     *:*                         LISTEN      2038/dovecot
    tcp        0      0 *:pop3                      *:*                         LISTEN      2038/dovecot
    tcp        0      0 *:imap                      *:*                         LISTEN      2038/dovecot
    tcp        0      0 *:http                      *:*                         LISTEN      2683/httpd
    tcp        0      0 *:6001                      *:*                         LISTEN      2308/Xvnc
    tcp        0      0 *:ftp                       *:*                         LISTEN      12798/proftpd: (acc
    tcp        0      0 *:ssh                       *:*                         LISTEN      1917/sshd
    tcp        0      0 localhost.localdomain:ipp   *:*                         LISTEN      1903/cupsd
    tcp        0      0 localhost.localdomain:rndc  *:*                         LISTEN      2810/named
    tcp        0      0 *:https                     *:*                         LISTEN      2683/httpd
    tcp        0   4292 localhost.localdomain:ssh   ::ffff:135.196.89.159:47922 ESTABLISHED 28501/0
    
    Can someone help when i can open these ports.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You can not check if the ports are open with the ispconfig portscan, as the portscan runs on localhost. To check if the port s open on your server, run:

    iptables -L
     
  3. zahid44

    zahid44 New Member

    this will do >

    Code:
    iptables -A INPUT -p tcp -d 0/0 -s 0/0 --dport 1935 -j ACCEPT
     

Share This Page