Visit Our UNIX and Linux User Community


111.22.31.123:1554, port 1554 defined where?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers 111.22.31.123:1554, port 1554 defined where?
# 1  
Old 11-21-2002
111.22.31.123:1554, port 1554 defined where?

hi, given this 111.22.31.123:1554, isnt this 1554 defined in /etc/services? i am on aix. and this 1554 is a port?

thanks
yls177
# 2  
Old 11-21-2002
Are you talking about a 'client port' or a 'server port' ? Client ports are not mapped in /etc/services. Generally, (not multicast) TCP/IP connections have two endpoints, the listening socket and the client socket.

It would be helpful to post the results of the command:

Code:
netstat -an | grep 111.22.31.123:1554

or simply:

Code:
netstat -an | grep 1554

# 3  
Old 11-21-2002
netstat -an | grep 1554 gives me the below

tcp4 0 0 *.1580 *.* LISTEN



and from your reply, i gather the following:

1) server ports are mapped in /etc/services?

2) where is the client port defined?

3) from the output, this 1580 port is a listening port then?

thanks!
yls177
# 4  
Old 11-21-2002
Well, first please help me understand the puzzle in your reply:

Quote:
netstat -an | grep 1554 gives me the below

tcp4 0 0 *.1580 *.* LISTEN
that is simply is not possible Smilie
# 5  
Old 11-22-2002
it is always possible to run things like irc deamon on such ports ;-) or that someone is running something ont hat withouth asking (above 1K users can run services ;-) ).
# 6  
Old 11-22-2002
It is 'not possible' because you can't grep for a number in a line and get a line without the number (as you have written the command). (not a networking puzzle, a grep issue)

That is the puzzle......... the output of the grep command is not possible.
# 7  
Old 11-22-2002
NEO, my understanding to your reply is that my command as below

netstat -an | grep 1554

contains the number 1554 BUT

the output as belows has no 1554 but 1580

tcp4 0 0 *.1580 *.* LISTEN

and according to u, there is NO WAY for this to happen....., right?


Okay, i have made an typo error, the command and output should be as below

netstat -an | grep 1580 gives me the below

tcp4 0 0 *.1580 *.* LISTEN

is this okay?

back to my three little questions.. Thanks pal!
yls177
 

Previous Thread | Next Thread
Test Your Knowledge in Computers #701
Difficulty: Easy
MySQL NOT LIKE is a sardonic DB operator used to exclude those rows which are not liked by Oracle Corporation executives.
True or False?

5 More Discussions You Might Find Interesting

1. 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

2. Shell Programming and Scripting

Increment ABC-123 by 1!!

in a shell script, i hav a variable declared as "ABC-123". i want to incriment th value ABC-123 by 1 so that the result will be ABC-124. Can anyone suggest a solution in shell scripting.. (4 Replies)
Discussion started by: pgmfourms
4 Replies

3. Shell Programming and Scripting

to make 1 2 3 into 123

suppose u have a file ABC ADFA AFAF AGBA AHHAH AJJA AJKA AJAJ AJAJA AJAJAJ AHAB AAAJ AJAJA AKK AJAJAA means gaps have to replaced and see also there will be gaps so output shud be ABCADFAAFAFAGBAAHHAHAJJAAJKAAJAJAJAJAAJAJAJAHABAAAJJAJAAKKAJAJAA Thanks (2 Replies)
Discussion started by: cdfd123
2 Replies

4. Filesystems, Disks and Memory

Sparc11 or 111?

How can I check the architecture version on a sun box? So far I've tried; arch -k which gives sun4u and uname -a which gives SunOS <hostname> 5.8 Generic_108528-22 sun4u sparc SUNW,Ultra-4 but nothing which definitively states sparc11 or 111 - any ideas? (2 Replies)
Discussion started by: mattd
2 Replies

5. Cybersecurity

port 111

hi if i do a portscan on my fbsd box, i got one port that i don't want to see it open that's port 111, sunrpc, how can i close it? and also my-sql port 1433 and port 1523 (cichild-lm) tnx for your help!! (6 Replies)
Discussion started by: Stormpie
6 Replies

Featured Tech Videos