Re: reg:conninfo

From: "sandhya" <sandhyar(at)amiindia(dot)co(dot)in>
To: "Louis Gonzales" <louis(dot)gonzales(at)linuxlouis(dot)net>, "Robin Iddon" <robin(at)edesix(dot)com>
Cc: "Postgres" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: reg:conninfo
Date: 2006-03-20 12:47:26
Message-ID: 02e001c64c1c$713c4b90$cd00000a@sandhyar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

localhost 127.0.0.1------->What is the importance of it?
Is there any document to know about this?

----- Original Message -----
From: "Louis Gonzales" <louis(dot)gonzales(at)linuxlouis(dot)net>
To: "Robin Iddon" <robin(at)edesix(dot)com>
Cc: "Postgres" <pgsql-admin(at)postgresql(dot)org>
Sent: Monday, March 20, 2006 5:59 PM
Subject: Re: [ADMIN] reg:conninfo

> I'm sorry, please don't confuse a UNIX domain socket with "localhost"
> which are _not_ the same at all. A UNIX domain socket is nothing more
> than a file *usually* located in a temporary directory, used for
> inter-process communication. "localhost" - 127.0.0.1, also used on any
> TCP/IP configured system, including Windows, which does not support UNIX
> domain sockets, by default - _is_ a special network address, the
> loopback device and is used generally to ensure proper functionality of
> the TCP/IP stack.
>
> Robin Iddon wrote:
>
> > Sandhya,
> >
> >
> > If you use localhost you will be creating a UNIX domain socket. If
> > you use the IP address you will create a TCP/IP socket.
> >
> > Did you try running with -i yet? It doesn't mean accept remote
> > connections, it means accept TCP/IP connection. Without it, you
> > cannot connect to an IP address ...
> >
> > Robin
> >
> > sandhya wrote:
> >
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Vishal Kashyap 2006-03-20 15:49:29 PostgreSQL zope equivalent of PHPpgAdmin
Previous Message Kannan.S 2006-03-20 12:44:18 Re: reg:conninfo