1833981 Members
1804 Online
110063 Solutions
New Discussion

Re: net question please

 
navin
Super Advisor

net question please

tcp 0 0 hostname.59624 fullyqualified hostname.5001

can some one please let me know the field(the above netstat output) what does the field hostname.59624 ..means..
Thanks much
Learning ...
4 REPLIES 4
Steven Schweda
Honored Contributor

Re: net question please

"man netstat"?

Address formats are in two forms: host.port, or network.port if the
host portion of a socket address is zero. When known, the host and
network addresses are displayed symbolically by using gethostbyname()

Is the mystery item under the "Local Address"
heading?

Which part of "hostname.59624" do you not
understand? "hostname" is the host name,
"59624" is the port number. (Just as
"fullyqualified hostname" is a host name, and
"5001" is a port number.)
navin
Super Advisor

Re: net question please

tcp 0 0 fullyqualified hostname.5001

Actually my ? is ..in my other system the field in ? hostname.port name in my previos post is missing that means the app is not running?
Learning ...
Steven Schweda
Honored Contributor

Re: net question please

> Actually my ? is ..in my other system the
> field in ? hostname.port name in my previos
> post is missing that means the app is not
> running?

Perhaps it would help if you supplied some
actual output from a "netstat -an" command on
each system. Perhaps
netstat -an | grep '.5001 '

Also, "my other system" is not a useful
description of either system. With what are
you working here?

Are you expecting some application to be
listening on port 5001?

What is your actual queation? What problem
are you trying to solve?
TTr
Honored Contributor

Re: net question please

> tcp 0 0 hostname.59624 fullyqualified hostname.5001

There is another column at the end of the netstat output. It is the state output and it should tell you what the socket is doing.

Please post something like this

Run netstat on hostA

tcp 0 0 hostA.59624 hostB.dom.com.5001 STATUS

Run netstat on hostB

tcp 0 0 hostB.???? hostA.???? STATUS