----- Original Message -----
From: Richard Adams <[EMAIL PROTECTED]>
To: Jack Barnett <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, May 11, 2000 4:05 PM
Subject: Re: which server is bound to which port
> On Thu, 11 May 2000, Jack Barnett wrote about, which server is bound to
which port:
> > Is there a standard unix program that can tell which processes are
running
> > on which port? Like `ps` but lists the ports a command is bound to?
>
> netstat will tell you what services are running.
> man netstat
>
> > Sometimes I find something weird on port 1616 on my server, and I have
no
> > idea how to tell what is running there..
>
> What is 'so wierd' whats its name,??
Not sure it's name
> how do you find it.??
I was learn socket programming in perl and created port scan script to learn
how to connect, etc and it showed up, I telented there and it made a
connection, but when I typed something it disconnected me. It didn't print
anything out
>who starts it,??
Not sure, I don't even know what program is bound to that port, that is what
I am trying to firgure out
> that can be seen with 'ps ax'.
I looked though that and they all looked like processes that should of be
running, I even started killing a lot of them just to make sure, and still
couldn't find it.
> Are you seeing the port in some sort of trace program.??
Yea
> port 1616 could
> well be used by the inet server.
I shutdown the inetd and it was still accepting connections to that port
> Is port 1616 defined in your /etc/services, ??
no
> do you run any spesific
> programs via inetd, check in /etc/inetd.conf.??
no
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs