Hi,
If I remember it well, ther's also a netstat option to list the port
numbers, even when the service name is specified. I don't know for sure,
it's almost three years ago:)

----- Original Message -----
From: "Vilas, Ajith (SOM400A)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 03, 2001 4:39 PM
Subject: RE: DB2EUG: Port NUmber Assigned


> Scott,
>   Unix netstat command will give you that information.Try netstat -a. But
there is one catch though, if you have the service name (db2cinst for
instance) instead of port number as the svcename parameter value, netstat
will only show the name and not the port number. You might still need to
look at the /etc/service file to see that port was assigned to the service
name.
> Regards,
> Ajith
>
> -----Original Message-----
> From: McLeod, Scott [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 03, 2001 8:29 AM
> To: [EMAIL PROTECTED]
> Subject: DB2EUG: Port NUmber Assigned
>
>
> I can't find the /etc/services file on a server setup by someone else.
Can
> someone tell me if you know of a way to identify the port number DB2 is
> listining on.  The service name is identified in the DBM CFG.  But the
port
> number assigned to that service name is a required parameter when
> configuring a client for remote access to the database.
>
> > TTFN and Hold Fast!
> > Scott McLeod of MacLeod
> > Best Buy, Inc.
> > Sr. Database Architect
> > 7750 Flying Cloud Dr.
> > Eden Prairie, MN 55344
> >
> > (612) 324-0031 (voice)
> > (612) 324-0828 (fax)
> >
> > [EMAIL PROTECTED]
> >
> >
>
> =====
> To unsubscribe, send 'unsubscribe' to [EMAIL PROTECTED]
> For other info (and scripts), see
http://people.mn.mediaone.net/scottrmcleod
>
>
>
> =====
> To unsubscribe, send 'unsubscribe' to [EMAIL PROTECTED]
> For other info (and scripts), see
http://people.mn.mediaone.net/scottrmcleod
>
>


=====
To unsubscribe, send 'unsubscribe' to [EMAIL PROTECTED]
For other info (and scripts), see http://people.mn.mediaone.net/scottrmcleod

Reply via email to