Thread: nmap not showing postgres

nmap not showing postgres

From
raj veluchamy
Date:
hello all,
i am running postgres in compiling postgres in OSCAR
cluster.
installation is done to /home/pgsql as i couldn't do
it at /var/lib.
while i nmap, the postgres is not shown, but when i
give createdb, this is working and i could work on
with the data base.
thanks in advance

________________________________________________________________________
Yahoo! India Careers: Over 65,000 jobs online
Go to: http://yahoo.naukri.com/

Re: nmap not showing postgres

From
Ian Barwick
Date:
On Tue, 13 Jul 2004 05:53:36 +0100 (BST), raj veluchamy
<rajpgsql@yahoo.co.in> wrote:
> hello all,
> i am running postgres in compiling postgres in OSCAR
> cluster.
> installation is done to /home/pgsql as i couldn't do
> it at /var/lib.
> while i nmap, the postgres is not shown, but when i
> give createdb, this is working and i could work on
> with the data base.

I'm guessing you want to ascertain whether PostgreSQL is listening on
a TCP/IP port? I'm not familiar with OSCAR so I don't know whether it
has any impact on PostgreSQL operations. A command like "netstat -t"
should show you what services are listening on what ports.

Ian Barwick

Re: nmap not showing postgres

From
Ian Barwick
Date:
On Sun, 18 Jul 2004 15:30:01 +0200, Ian Barwick <barwick@gmail.com> wrote:
> On Tue, 13 Jul 2004 05:53:36 +0100 (BST), raj veluchamy
> <rajpgsql@yahoo.co.in> wrote:
> > hello all,
> > i am running postgres in compiling postgres in OSCAR
> > cluster.
> > installation is done to /home/pgsql as i couldn't do
> > it at /var/lib.
> > while i nmap, the postgres is not shown, but when i
> > give createdb, this is working and i could work on
> > with the data base.
>
> I'm guessing you want to ascertain whether PostgreSQL is listening on
> a TCP/IP port? I'm not familiar with OSCAR so I don't know whether it
> has any impact on PostgreSQL operations. A command like "netstat -t"
> should show you what services are listening on what ports.

Forgot to add: by default PostgreSQL doesn't listen on a TCP/IP port;
you have to specify this when starting the server.

Ian Barwick