Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I need to open port in Red Hat AS 4. I don't have Firewall installed neither SELinux. I tried with the iptables command, but don't work. ================================================== ====== # ...
  1. #1
    Just Joined!
    Join Date
    Apr 2009
    Posts
    2

    Opening Port in Red Hat Enterprise AS 4

    Hi,

    I need to open port in Red Hat AS 4. I don't have Firewall installed neither SELinux. I tried with the iptables command, but don't work.

    ================================================== ======
    # nmap localhost -p 2809

    Starting nmap 3.70 ( Nmap - Free Security Scanner For Network Exploration & Security Audits. ) at 2009-04-06 13:54 BRT
    Interesting ports on srvlinux1 (127.0.0.1):
    PORT STATE SERVICE
    2809/tcp closed corbaloc

    Nmap run completed -- 1 IP address (1 host up) scanned in 0.126 seconds
    ================================================== ======

    Could you help me?

    Best regards

    Luciana

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    do you have an application running and listening on that port? you are checking to see if that is running on that port on localhost AKA loopback interface, is the application listening on loopback interface or a NIC?

  3. #3
    Just Joined!
    Join Date
    Apr 2009
    Posts
    2
    Hi,

    I am not sure, but I executed the netstat and the port 2809 don't appeared.

    [root@srvlinux1 ~]# netstat -lt
    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address Foreign Address State
    tcp 0 0 *:32769 *:* LISTEN
    tcp 0 0 *:32772 *:* LISTEN
    tcp 0 0 *:sunrpc *:* LISTEN
    tcp 0 0 *:webcache *:* LISTEN
    tcp 0 0 *:1521 *:* LISTEN
    tcp 0 0 *:dsrpc *:* LISTEN
    tcp 0 0 *:ftp *:* LISTEN
    tcp 0 0 srvlinux1:ipp *:* LISTEN
    tcp 0 0 srvlinux1:smtp *:* LISTEN
    tcp 0 0 *:9443 *:* LISTEN
    tcp 0 0 *:9060 *:* LISTEN
    tcp 0 0 *:16581 *:* LISTEN
    tcp 0 0 *:32778 *:* LISTEN
    tcp 0 0 *:31531 *:* LISTEN
    tcp 0 0 *:32779 *:* LISTEN
    tcp 0 0 *:9101 *:* LISTEN
    tcp 0 0 *:31533 *:* LISTEN
    tcp 0 0 *:8880 *:* LISTEN
    tcp 0 0 *:http *:* LISTEN
    tcp 0 0 *:32785 *:* LISTEN
    tcp 0 0 *:9043 *:* LISTEN
    tcp 0 0 *:32788 *:* LISTEN
    tcp 0 0 *:ssh *:* LISTEN
    tcp 0 0 *:32791 *:* LISTEN
    tcp 0 0 *:9080 *:* LISTEN
    tcp 0 0 *:13400 *:* LISTEN
    tcp 0 0 *:9401 *:* LISTEN
    tcp 0 0 *:13401 *:* LISTEN
    tcp 0 0 *:2810 *:* LISTEN
    tcp 0 0 *:9402 *:* LISTEN
    tcp 0 0 *:9403 *:* LISTEN
    tcp 0 0 *:https *:* LISTEN
    tcp 0 0 *:32863 *:* LISTEN
    [root@srvlinux1 ~]#


    If I execute the nmap command with another port return STATE open

    [root@srvlinux1 ~]# nmap localhost -p 9080

    Starting nmap 3.70 ( Nmap - Free Security Scanner For Network Exploration & Security Audits. ) at 2009-04-07 10:40 BRT
    Interesting ports on srvlinux1 (127.0.0.1):
    PORT STATE SERVICE
    9080/tcp open unknown

    Nmap run completed -- 1 IP address (1 host up) scanned in 0.126 seconds
    [root@srvlinux1 ~]#

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...