How To Open Ports in RedHat ? | Unix Linux Forums | Linux

  Go Back    


Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

How To Open Ports in RedHat ?

Linux


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 09-06-2003
Sirius Sirius is offline
Registered User
 
Join Date: Sep 2003
Last Activity: 7 November 2011, 4:00 PM EST
Location: Baku
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
How To Open Ports in RedHat ?

how can i open ports i need in red hat server vs root access ?
Sponsored Links
    #2  
Old 09-06-2003
cbkihong cbkihong is offline Forum Advisor  
Advisor
 
Join Date: Sep 2002
Last Activity: 4 May 2014, 6:22 AM EDT
Location: Hong Kong, China
Posts: 1,622
Thanks: 0
Thanked 9 Times in 8 Posts
What do you mean by opening a port?

If an application server binds to the port to listen incoming traffic or have to send out any messages, the port must be open. Otherwise, it is closed. I don't think you will manually open a port.

Or do you mean to configure the firewall to enable certain ports that are otherwise blocked by default?
Sponsored Links
    #3  
Old 09-06-2003
Sirius Sirius is offline
Registered User
 
Join Date: Sep 2003
Last Activity: 7 November 2011, 4:00 PM EST
Location: Baku
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
i wont to install ircd on my server my ports i need 6663-7000 closed. vs what command can i open them ?
    #4  
Old 09-06-2003
Synbios's Avatar
Synbios Synbios is offline
Registered User
 
Join Date: Jun 2003
Last Activity: 20 December 2013, 7:40 PM EST
Location: Boston, MA
Posts: 42
Thanks: 1
Thanked 0 Times in 0 Posts
When you start ircd (if its configured correctly), it should open those ports.
Sponsored Links
    #5  
Old 09-06-2003
cbkihong cbkihong is offline Forum Advisor  
Advisor
 
Join Date: Sep 2002
Last Activity: 4 May 2014, 6:22 AM EDT
Location: Hong Kong, China
Posts: 1,622
Thanks: 0
Thanked 9 Times in 8 Posts
This port range is > 1024. You don't have to be root to run this program. You don't have to manually open them. The program will open them as needed.
Sponsored Links
    #6  
Old 09-06-2003
Sirius Sirius is offline
Registered User
 
Join Date: Sep 2003
Last Activity: 7 November 2011, 4:00 PM EST
Location: Baku
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
but i wont to run ircd not from root access, i wont from user. so program can't open ports coz has no access

Quote:
Originally posted by Sirius
i wont to install ircd on my server my ports i need 6663-7000 closed. vs what command can i open them ?
Sponsored Links
    #7  
Old 09-06-2003
Sirius Sirius is offline
Registered User
 
Join Date: Sep 2003
Last Activity: 7 November 2011, 4:00 PM EST
Location: Baku
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
1 man said i must use that command:

iptables -I INPUT -p tcp -m tcp --dport 6667 -j ACCEPT

and he said it will open ports
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
open ports solaris 8 csross UNIX for Dummies Questions & Answers 3 12-03-2008 10:54 AM
Check open ports every ... MorchiuS Shell Programming and Scripting 2 08-03-2005 04:17 PM
determining open ports matrixmadhan UNIX for Advanced & Expert Users 7 07-18-2005 03:17 AM
closing open ports LowOrderBit Security 10 09-28-2001 01:43 AM



All times are GMT -4. The time now is 12:18 AM.