Sponsored Content
Operating Systems Linux How To Open Ports in RedHat ? Post 39968 by cbkihong on Saturday 6th of September 2003 04:33:53 AM
Old 09-06-2003
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?
 

9 More Discussions You Might Find Interesting

1. Cybersecurity

closing open ports

/* Linux Slackware */ Nmap shows the following ports open on the gateway. 21/tcp ftp 22/tcp ssh 23/tcp telnet 25/tcp smtp 37/tcp time 80/tcp http 113/tcp auth 515/tcp printer 587/tcp submission 1024/tcp kdm 6000/tcp x11 ------------------------------- i would like to close as... (10 Replies)
Discussion started by: LowOrderBit
10 Replies

2. UNIX for Advanced & Expert Users

determining open ports

hi all 1) how to determine available ports in a box (solaris) do i have to go for a netstat on all the ports? 2) how to block a particular port for a particular type of connection. Any help would be greatly appreciated Thanks (7 Replies)
Discussion started by: matrixmadhan
7 Replies

3. Shell Programming and Scripting

Check open ports every ...

Hello, i need a script (bash type maybe?..), which would check open ports on 127.0.0.1 and then compare open ports with "registered/allowed" port list and try to kill the program who uses unregistered ports. It would be great that script would be started lets say every 5 or 10 minutes. You see i... (2 Replies)
Discussion started by: MorchiuS
2 Replies

4. AIX

Open Ports on System

Hi Every body, What is the command on AIX 5.2 that can be used to get all open ports? (2 Replies)
Discussion started by: aldowsary
2 Replies

5. UNIX for Dummies Questions & Answers

open ports solaris 8

Hello, I have a number of Solaris 8 Sun servers that have open ports that I cannot identify. I see some with 1012-1020 (which are reserved ports according to the IANA. Lsof does not identify these. One server has all these on and one server just has 1017. *.1023 ... (3 Replies)
Discussion started by: csross
3 Replies

6. Solaris

open ports solaris 8

Hello, I have a number of Solaris 8 Sun servers that have open ports that I cannot identify. I see some with 1013-1023 (which are reserved ports according to the IANA. Lsof does not identify these. I rebooted the server and they went off, but this morning I saw they were all back on again. Any... (1 Reply)
Discussion started by: csgonan
1 Replies

7. Solaris

Open ports in solaris 10

hi guys, may i know the exact steps to open a port in solaris.i have some rough idea - which is adding the port number in /etc/services. but i am not sure the correct conventions, steps or any other steps. kindly advise.thanks guys ! (1 Reply)
Discussion started by: cromohawk
1 Replies

8. UNIX for Dummies Questions & Answers

open ports and services

just a quick question: a. whats the simplest command to check open port and the corresponding services? example: bash-2.05# netstat -an | grep LISTEN *.199 *.* 0 0 49152 0 LISTEN *.8989 *.* 0 0 49152 ... (1 Reply)
Discussion started by: lhareigh890
1 Replies

9. IP Networking

Open/close of ports

Hi, I have read some forum theads about the open and close ports. some points are clear and it is not working on my machine or something am i missing? I have commented out a port /etc/services, one application uses then when i use the telnet <hostname> <port_blocked> it shows connected..... (1 Reply)
Discussion started by: balamv
1 Replies
vrport(1M)																vrport(1M)

NAME
vrport - Veritas Volume Replicator port management utility SYNOPSIS
vrport [-a | -r] data [port | portlow-porthigh [,port...]] vrport heartbeat [port] vrport vradmind [port] vrport vxrsyncd [port] DESCRIPTION
The vrport utility manages the various UDP and TCP ports used by Veritas Volume Replicator (VVR). VVR uses the UDP and TCP transport protocols to communicate between the Primary and Secondary. VVR exchanges three types of message between the Primary and Secondary: heartbeat, data and administrative control. The heartbeat messages are transmitted using the UDP protocol on the IANA approved 4145 UDP Port number. VVR can use either the UDP trans- port protocol or the TCP transport protocol to exchange data messages. VVR uses UDP Anonymous ports for data replication between Primary and the Secondary if the network protocol is UDP. VVR uses IANA approved 4145 TCP port number for TCP listener port on the Secondary and TCP Anonymous ports on the Primary for data replication if the network protocol is TCP. VVR uses IANA approved 8199 TCP port for communication between the vradmind daemons on the Primary and the Secondary. vradmind server pro- vides administration of VVR objects in a distributed environment. VVR uses 8989 TCP port number for communication between the vxrsyncd dae- mons on the Primary and the Secondary. Use vrport to display, change or set the port numbers used by VVR. You may have to change the port numbers to resolve a port number con- flict with other applications, to configure VVR to work in a firewall environment when using UDP network protocol by restricting the number of ports to replicate data between the Primary and the Secondary. The action performed by vrport depends on the specified keyword operand(s). When invoked with no arguments, vrport displays the port number(s) used for heartbeat, data, vradmind and vxrsyncd communication between the Primary and Secondary on the standard output. KEYWORDS
data [port | portlow-porthigh [,port...]] Without any arguments, the vrport data command displays the port number(s) used by VVR for data replication between the Primary and the Secondary. This is applicable only if you have chosen UDP for network protocol. With the port number(s) or range specified, restricts VVR to use the ports or list of ports specified for data replication. If the -a flag is specified, the vrport data command appends the given port numbers(s) or range to the existing port number(s) or range to be used for data replication. If the -r flag is specified, the vrport data command removes the given port number(s) or range from the existing port number(s) for data replication. You need to execute /usr/sbin/vxnetd, and pause and resume all RLINKs for VVR to use the new port information. heartbeat [port] Without the port argument, displays the UDP port number used to exchange heartbeat messages. With the port argument specified, sets the UDP port number to exchange heartbeat messages. Use the vradmin changeip command to update the RLINKs with the new port information. To have VVR use the new port number, enter the command /usr/sbin/vxnetd stop followed by /usr/sbin/vxnetd. vradmind [port] Without the port argument, displays the TCP port number used by the vradmind daemons for communication between the Primary and the Secondary. With the port argument specified, sets the TCP port number to be used by the vradmind daemons. The new port is used when the vradmind process is restarted. vxrsyncd [port] Without the port argument, displays the port the TCP port number used by vxrsyncd daemons for communication between the Primary and the Secondary hosts. With the port argument specified, command sets the TCP port number to be used by the vxrsyncd daemons. The new port is used when the vxrsyncd process is restarted. EXAMPLES
See the Veritas Volume Replicator Configuration Notes for examples. EXIT CODES
The vrport utility exits with a non-zero status if the attempted operation fails. A non-zero exit code is not a complete indicator of the problems encountered but denotes the first condition that prevented further execution of the utility. SEE ALSO
vradmin(1M),vxrlink(1M) Veritas Volume Replicator Administrator's Guide Veritas Volume Replicator Configuration Notes VxVM 5.0.31.1 24 Mar 2008 vrport(1M)
All times are GMT -4. The time now is 09:14 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy