Sponsored Content
Top Forums UNIX for Dummies Questions & Answers how to know whether particular port number is free or not Post 29673 by ganti on Thursday 10th of October 2002 07:28:19 AM
Old 10-10-2002
In my AIX machine i do the following to determine

telnet <machine_name> <port-number>

When you say telnet <machine-IP> it connects to default 80

when you say telnet <machine_IP> 5000

If port 5000 is used by any other process telnet connects

otherwise it gives error message

remote machine refused connection

This happens in our AIX machines ,Check with your local expert

GOOD LUCK
 

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
XvUngrabPort(3) 						  libXv Functions						   XvUngrabPort(3)

NAME
XvUngrabPort - release port grabbed for video operation SYNOPSIS
#include <X11/extensions/Xvlib.h> int XvUngrabPort(Display *dpy, XvPortID port, Time time); ARGUMENTS
dpy Specifies the connection to the X server. port Specifies the port to be released. If the port had not been previously grabbed, the request is ignored. time Specifies the request timestamp. DESCRIPTION
XvUngrabPort(3) releases a grabbed port. If time specifies a time before the last XvGrabPort(3) was executed, the request is ignored. RETURN VALUES
[Success] Returned if XvUngrabPort(3) completed successfully. [XvBadExtension] Returned if the Xv extension is unavailable. [XvBadAlloc] Returned if XvUngrabPort(3) failed to allocate memory to process the request. DIAGNOSTICS
[XvBadPort] Generated if the requested port does not exist. SEE ALSO
XvGrabPort(3) X Version 11 libXv 1.0.7 XvUngrabPort(3)
All times are GMT -4. The time now is 02:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy