Im new on unix. but I need your help.
I have a windows program that is querying data from unix computer through winsock, this unix computer is bought from Japan in 1995. All the guys who are in charge of this have already resigned.
The problem is this winodws program is developed years ago i guess around 1995. this program is retrieving a data through this port 17477 from unix. But I didn't know what command should i throw to the listening port.
Is there anyway that I will know what command the port is listening?
Last edited by pludi; 01-14-2010 at 04:18 AM..
Reason: code tags, please...
If your Unix server has the command: lsof then run it on the Unix server as the root user as follows:
This will list all the processes listening on TCP/IP ports and on what port they are listening on, e.g. on my machine I have the SSH daemon running that listens on port 22 so I get:
I have removed the other lines lof output for clarity.
So in your case if port 17477 is not listed in /etc/services than lsof will just show the port number, note the PID (1741 in my case) and grep for that pid from the ps list and you then know what application is listening on that port.
hi,
i would like to create a bash script that check which port in my Linux server are closed (not in use) from a specific range, port range (3000-3010).
the print output need to be only 1 port, and it will be nice if the output will be saved as a variable or in same file.
my code is:
... (2 Replies)
Hello,
I have an unloaded T5140 machine and want to access the ILOM for the first time and subsequently the network port after that., and then load Solaris 10 the final January 2011 build.
The first part is what confuses me -the cabling.
I am coming from a Windows machine (w/appropriate... (5 Replies)
i want to kill a tcp connection by killing its pid
with netstat -an i got the tcp ip connection on port 5914
but when i type ps -a or ps-e there is not such process running on port 5914
is it possible that because i do not log on with proper user account i can not see that process running? (30 Replies)
Hi Everyone,
In my environment, I have few T5220. On the iLOM Management Card, I have both Network and Serial port are cabled, I don't have any issues while I try to connect using Network Management port, but when I try to connect the serial port for the same server which is actually connected... (3 Replies)
Hi,
Is it possible to have 2 programs to listen in 1 port? the only job of that other program is to record or monitor down any request it recieves to that specific port.
Is that possible? Won't it cause any conflicts? (4 Replies)
Hi
I've been trying to change the services for MQ listeners using inetaconv and inetadm.
The MQ was already installed and Im trying to change the QManager name. Ive creted the appropriate files (MQSeries-tcp.xml) and am now trying to enable MQSeries and then refresh the service:
inetadm... (2 Replies)
I have a file directory which I want to monitor - when a new file arrives I want to start a script. Are there any utilities which can do this (aside from DB2, Oracle, Websphere, etc).
I just want a "simple" listener which will invoke a script. (2 Replies)