Sponsored Content
Top Forums UNIX for Dummies Questions & Answers how to know whether particular port number is free or not Post 29685 by hassan2 on Thursday 10th of October 2002 09:05:33 AM
Old 10-10-2002
you can also use the netstat command.

issued netstat -an | grep (port) | grep -i listen

if the port is listen then the port is not yet disable.
 

10 More Discussions You Might Find Interesting

1. Cybersecurity

get number of a port

Hello every one. I work in a LAN with many application server. Each one use a different port. What command permit to obtain the number of these port. thanks (2 Replies)
Discussion started by: hoang
2 Replies

2. UNIX for Advanced & Expert Users

FTP Port Number

On HP-UX 11 how do I get the port number of an active ftp connection? (2 Replies)
Discussion started by: mbb
2 Replies

3. Programming

find free port

how can i find whether the particular port is free among certain port numbers like 15000 to 30000 before i connect to the server by assigning the port no for the client (0 Replies)
Discussion started by: MKSRaja
0 Replies

4. UNIX for Dummies Questions & Answers

Need to know port number

Hi expert, I wanted to know in which port my apache is running in solaris box thanks Shaan (1 Reply)
Discussion started by: shaan_dmp
1 Replies

5. UNIX for Dummies Questions & Answers

port number

hi all i want to connect a system, how can i know the port number of a system. (2 Replies)
Discussion started by: tukuna82
2 Replies

6. Solaris

Finding port number !!

Hi all , I want know the port no on which a particular application is running. How to find that? Thanks in anticipation (11 Replies)
Discussion started by: kumarmani
11 Replies

7. Programming

How to free a port?

hi all, Im using a tcp socket for communication. After all the communications I close the socket and bind another socket to the same port. But it shows bind error. I see it is due to the port no being used immediately. But i am closing the first socket before the binding the second one to the... (9 Replies)
Discussion started by: v1jay
9 Replies

8. Shell Programming and Scripting

To get Port number alone from the list

~]#netstat -vatn | grep LISTEN tcp 0 0 0.0.0.0:34895 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN tcp 0 0 192.168.122.1:53 0.0.0.0:* LISTEN ... (7 Replies)
Discussion started by: linuxadmin
7 Replies

9. Solaris

To get process id for port number

Hi All, How to get the list of port numbers and it is correspoding proceses id that are currently running on. Please suggest and it is urgent Thanks. (7 Replies)
Discussion started by: rbalaj16
7 Replies

10. Solaris

How to find port number wwn of particular port on dual port HBA,?

please find the below o/p for your reference bash-3.00# fcinfo hba-port HBA Port WWN: 21000024ff295a34 OS Device Name: /dev/cfg/c2 Manufacturer: QLogic Corp. Model: 375-3356-02 Firmware Version: 05.03.02 FCode/BIOS Version: BIOS: 2.02; fcode: 2.01;... (3 Replies)
Discussion started by: sb200
3 Replies
roarclientpass(1)				       System User's Manual: roarclientpass					 roarclientpass(1)

NAME
roarclientpass - Passing clients to and creating new listen sockets on RoarAudio sound server SYNOPSIS
roarclientpass [OPTIONS]... DESCRIPTION
This program let you pass new clients to a RoarAudio sound server as as a proxy and let you add new listen sockets to a running server. OPTIONS
--server SERVER Set server hostname. --stdin Client is on stdin. --stdout Client is on stdout. --stdio Same as --stdin --stdout. This option may for example be used in case of being runed from a inetd. --stderr Client is on stderr. Beside to make stderr known as client fh it will disable error output on stderr. This must be used in case this program is used from inetd or simular tools. --client-fh FH Client is on FH. This is basicly the same as --client-fh on roard(1). --proto PROTO Set the protocol used by the client. Defaults to RoarAudio. --byteorder BO Sets the byteorder used by the client. Defaults to network byte order. --listen Client is a listen connection. This is not the same as --mode listen. --mode MODE Set mode of operation: none, listen or connect Defaults to none. --bind BIND Set host/node/path for mode listen and connect. --port PORT Set port for mode listen and connect. --help Show this help SEE ALSO
roartips(7), libroar(7), RoarAudio(7). HISTORY
For history information see RoarAudio(7). RoarAudio July 2010 roarclientpass(1)
All times are GMT -4. The time now is 05:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy